[wp-trac] [WordPress Trac] #21432: Deprecate *_blog_option()

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 3 17:51:44 UTC 2012


#21432: Deprecate *_blog_option()
--------------------------+---------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:  3.4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21414]:
 {{{
 #!CommitTicketReference repository="" revision="21414"
 Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and
 delete_blog_option().

 Use the regular option functions wrapped in switch_to_blog() and
 restore_current_blog() instead.

 Group multiple operations within a single switch where possible.

 fixes #21432
 }}}

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


More information about the wp-trac mailing list