Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ronalfy
Created October 29, 2014 20:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ronalfy/e38b6772bce487b63032 to your computer and use it in GitHub Desktop.
Save ronalfy/e38b6772bce487b63032 to your computer and use it in GitHub Desktop.
WordPress localhost wp-config debug
<?php
//Place in wp-config.php
if ( isset( $_SERVER[ 'REMOTE_ADDR' ] ) && ( '127.0.0.1' == $_SERVER['REMOTE_ADDR'] || '::1' == $_SERVER['REMOTE_ADDR'] ) ) {
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define( 'CONCATENATE_SCRIPTS', false );
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment