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

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 26 05:59:35 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
-------------------------+--------------------------------------------------
Changes (by nacin):

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


Comment:

 I would commit this, but we use {{{$id}}} in a lot more places than
 post.php. It's not a bad idea to reduce our dependence on globals even by
 one, but we might as well do it across the board if we are to do it.

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


More information about the wp-trac mailing list