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

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 5 00:35:53 UTC 2010


#12519: wp_unregister_GLOBALS violates with specs
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  Unassigned      
Component:  General       |     Version:  3.0             
 Severity:  normal        |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
 The function ''wp_unregister_GLOBALS'' contains uppercase letters which
 breaks the specs which call for all functions containing lowercase letters
 only and using underscores to separate words.

 Since function names are case insensitive in PHP, this can be easily
 fixed.

 Additionally some other of the more basic Wordpress coding standards are
 not followed in that function which can be fixed.

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


More information about the wp-trac mailing list