[wp-trac] [WordPress Trac] #21270: Use update_blog_option() when enabling/disabling themes per site in Multisite

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 15 00:42:20 UTC 2012


#21270: Use update_blog_option() when enabling/disabling themes per site in
Multisite
--------------------------+------------------
 Reporter:  jeremyfelt    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Cache         |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by scribu):

 * keywords:  has-patch => needs-patch
 * component:  Multisite => Cache
 * milestone:  Awaiting Review => 3.5


Comment:

 If we use update_site_option(), we can drop the switch_to_blog() /
 restore_current_blog() which would be done internally now.

 It would make sense to do this even without the caching benefit, so +1.

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


More information about the wp-trac mailing list