[wp-trac] [WordPress Trac] #31428: Switch_to_blog() no longer works in Customize using Multisite.

WordPress Trac noreply at wordpress.org
Mon Feb 23 22:52:43 UTC 2015


#31428: Switch_to_blog() no longer works in Customize using Multisite.
--------------------------+------------------------
 Reporter:  csschris      |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.1.2
Component:  Customize     |     Version:  4.1.1
 Severity:  normal        |  Resolution:
 Keywords:  commit        |     Focuses:  multisite
--------------------------+------------------------
Changes (by westonruter):

 * keywords:   => commit
 * owner:  westonruter => ocean90
 * status:  assigned => reviewing
 * milestone:  Awaiting Review => 4.1.2


Comment:

 In [attachment:31428.2.diff]"

  * Have `WP_Customize_Setting::is_current_blog_previewed()` return `null`
 if not previewed yet
  * Add unit test for `WP_Customize_Setting::is_current_blog_previewed()`
  * Clean up php coding standards in code around patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31428#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list