Posted By

fatihturan on 09/27/10


Tagged

debug wordpress


Versions (?)

Enable Debugging for a Specific User


 / Published in: PHP
 

  1. /* Enable debugging for a specific user. */
  2. @ini_set('display_errors',1);
  3. if( 'fatihturan' === DB_USER ){
  4. define('WP_DEBUG', true); // Turn debugging ON
  5. define('WP_DEBUG_DISPLAY', true); // Turn forced display OFF
  6. define('WP_DEBUG_LOG', true); // Turn logging to wp-content/debug.log ON
  7. }

Report this snippet  

You need to login to post a comment.