WordPress.org

Make WordPress Core

Ticket #11383: 11383.diff

File 11383.diff, 370 bytes (added by Denis-de-Bernardy, 8 years ago)
  • wp-includes/classes.php

     
    423423                        $GLOBALS['more'] = 1;
    424424                        $GLOBALS['single'] = 1;
    425425                }
     426
     427                if ( !WP_DEBUG && !current_user_can('manage_options') )
     428                        $GLOBALS['debug'] = false;
    426429        }
    427430
    428431        /**