[wp-trac] Re: [WordPress Trac] #5384: wp_flag api

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 24 08:25:55 GMT 2007


#5384: wp_flag api
-------------------------+--------------------------------------------------
 Reporter:  tellyworth   |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  low          |    Milestone:  2.5      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by darkdragon):

 Well, as an registry, it would generally get rid of the whole globals
 hell. So you take all of the globals and use this API instead. In that
 context, you would use this everywhere.

 However, my theory, is that you can return a reference to the value
 contained in the array and it will update based on changes made later. If
 this were to be the case, then it would completely replace globals and not
 require a huge update of the core code.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5384#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list