[wp-trac] [WordPress Trac] #12519: wp_unregister_GLOBALS violates with specs

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 6 08:40:43 UTC 2010


#12519: wp_unregister_GLOBALS violates with specs
------------------------------+---------------------------------------------
 Reporter:  hakre             |        Owner:  dd32    
     Type:  defect (bug)      |       Status:  reopened
 Priority:  lowest            |    Milestone:  3.0     
Component:  General           |      Version:  3.0     
 Severity:  trivial           |   Resolution:          
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Changes (by hakre):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I am pretty sure the function name is even misleading with uppercase
 letters.

 The function is in there to turn over a PHP setting called
 '''register_globals'''. The case is "all lowercase". That setting is
 pretty well known.

 The functionality of the function in question in this ticket is to
 "revert" the effect of a switched on '''register_globals''' PHP ini
 setting.

 Next to this new information, even after the last commit, the function
 name still violates the wordpress coding standard.

 The issue therefore is still unfixed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12519#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list