[wp-trac] [WordPress Trac] #25293: Switch_to_blog not switching the siteid

WordPress Trac noreply at wordpress.org
Thu Sep 8 10:01:05 UTC 2016


#25293: Switch_to_blog not switching the siteid
------------------------------------------------+--------------------------
 Reporter:  Rahe                                |       Owner:
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  Future
Component:  Networks and Sites                  |  Release
 Severity:  minor                               |     Version:  3.0
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
                                                |     Focuses:  multisite
------------------------------------------------+--------------------------

Comment (by swissspidy):

 Looking at this ticket, #37958 and #26511, `WP_State` is not a good name
 for this site-related class. I'd rather see `WP_Site_State` and
 `WP_Locale_State` (currently `WP_Locale_Switcher`) to implement a
 `WP_State` interface or an abstract class of such name. There's really
 some common ground. If we settle on consistent naming and public-facing
 functionality, we can also abstract later.

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


More information about the wp-trac mailing list