[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 03:55:25 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:  has-patch     |
--------------------------+------------------
Changes (by jeremyfelt):

 * keywords:  needs-patch => has-patch


Comment:

 Good point.

 [[attachment:21270.2.diff]] also removes `switch_to_blog()` and
 `restore_current_blog()` and replaces `get_option()` with
 `get_blog_option()`.

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


More information about the wp-trac mailing list