Skip to content

Instantly share code, notes, and snippets.

@jrfnl
jrfnl / wp-config-debug.php
Last active October 23, 2024 23:23
Code to add to wp-config.php to enhance information available for debugging.
<?php
/**
* == About this Gist ==
*
* Code to add to wp-config.php to enhance information available for debugging.
*
* You would typically add this code below the database, language and salt settings
*
* Oh.. and *do* make sure you change the path to the log file to a proper file path on your server (make sure it exists).
*