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

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 31 21:53:49 UTC 2012


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

Old description:

> Deprecate get_blog_option(), update_blog_option(), and
> delete_blog_option(). The regular *_option() functions wrapped with
> switch_to_blog() and restore_current_blog() should be used instead.
>
> Previous discussion:
>
> http://core.trac.wordpress.org/ticket/21270#comment:11

New description:

 Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and
 delete_blog_option(). The regular *_option() functions wrapped with
 switch_to_blog() and restore_current_blog() should be used instead.

 Previous discussion:

 http://core.trac.wordpress.org/ticket/21270#comment:11

--

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


More information about the wp-trac mailing list