[wp-trac] [WordPress Trac] #45594: Action 'switch_blog' duplicated $new_blog param

WordPress Trac noreply at wordpress.org
Wed Aug 14 14:28:41 UTC 2019


#45594: Action 'switch_blog' duplicated $new_blog param
-------------------------------------+-----------------------------
 Reporter:  ChriCo                   |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  5.3
Component:  Networks and Sites       |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Hi there! Thanks for the ticket and the patch, sorry it took so long for
 someone to get back to you.

 The proposed changes make sense to me, both the documentation fix and the
 clarified naming.

 Let's do the same in `restore_current_blog()` for consistency.

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


More information about the wp-trac mailing list