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

WordPress Trac noreply at wordpress.org
Thu Jun 18 14:07:37 UTC 2015


#31428: Switch_to_blog() no longer works in Customize using Multisite.
-----------------------------------+------------------------
 Reporter:  csschris               |       Owner:  ocean90
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.2
Component:  Customize              |     Version:  4.1.1
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:  multisite
-----------------------------------+------------------------

Comment (by boonebgorges):

 In [changeset:"32840"]:
 {{{
 #!CommitTicketReference repository="" revision="32840"
 Use `assertFalse()` rather than `assertNull()` in
 `Tests_WP_Customize_Setting::test_is_current_blog_previewed()`.

 `is_current_blog_previewed()` returns a boolean.

 See #31428.
 }}}

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


More information about the wp-trac mailing list