[wp-trac] [WordPress Trac] #11624: Stop using $id global

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 22 21:23:04 UTC 2010


#11624: Stop using $id global
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  General      |     Version:                  
 Severity:  normal       |    Keywords:  has-patch tested
-------------------------+--------------------------------------------------
Changes (by prettyboymp):

  * keywords:  has-patch => has-patch tested


Comment:

 This shouldn't affect plugins that still use global $id since it will be
 still be set in setup_post_content().  Core functions will just stop using
 it.  Its at least a small step in getting rid of all the globals.

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


More information about the wp-trac mailing list