[wp-trac] [WordPress Trac] #4915: Deprecate get_alloptions()

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 18:53:27 UTC 2010


#4915: Deprecate get_alloptions()
--------------------------+-------------------------------------------------
 Reporter:  mdawaffe      |       Owner:  anonymous       
     Type:  enhancement   |      Status:  new             
 Priority:  normal        |   Milestone:  3.0             
Component:  Optimization  |     Version:  2.9             
 Severity:  normal        |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------

Comment(by nacin):

 Why aren't we deprecating in favor of wp_load_alloptions()? Just because
 we don't want wp_getalloptions() to return wp_load_alloptions() once it is
 deprecated, the favored replacement should still be named.

 And I'm not sure why we're completely clearing out the function instead of
 returning wp_load_alloptions(). It isn't an exact replacement but both end
 up returning the same thing.

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


More information about the wp-trac mailing list