[wp-trac] [WordPress Trac] #49265: switch_to_blog() and restore_current_blog() reuse switch_blog action

WordPress Trac noreply at wordpress.org
Wed Jan 22 14:11:26 UTC 2020


#49265: switch_to_blog() and restore_current_blog() reuse switch_blog action
--------------------------------+---------------------
 Reporter:  iandunn             |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  5.4
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+---------------------

Comment (by johnbillion):

 I like the context parameter approach, as it solves the disambiguation
 problem for both switching to and switching from.

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


More information about the wp-trac mailing list