[wp-trac] [WordPress Trac] #3357: wp_die('GLOBALS overwrite attempt detected') before wp_die() included.

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 12 19:34:00 GMT 2006


#3357: wp_die('GLOBALS overwrite attempt detected') before wp_die() included.
-----------------------------+----------------------------------------------
 Reporter:  AlanJCastonguay  |       Owner:  anonymous     
     Type:  defect           |      Status:  new           
 Priority:  normal           |   Milestone:                
Component:  General          |     Version:  2.1           
 Severity:  minor            |    Keywords:  globals wp_die
-----------------------------+----------------------------------------------
 On line 8 of wp-settings.php, wp_die() is used to display a friendly error
 message if a key named GLOBALS is seen in the request array. Aka, someone
 is trying to inject variables into the global scope.
 8:      wp_die('GLOBALS overwrite attempt detected');

 wp_die() is defined in WPINC/functions.php, which is required on line 130
 of the same file. Thus, the call to wp_die() fails, as it is not yet
 defined.

 Should probably by reverted to die(), similar to changeset:4072

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3357>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list