[wp-trac] [WordPress Trac] #46351: Properly re-fill the `$meta` param of deprecated `wpmu_new_blog` action

WordPress Trac noreply at wordpress.org
Mon Mar 4 11:40:37 UTC 2019


#46351: Properly re-fill the `$meta` param of deprecated `wpmu_new_blog` action
--------------------------------+------------------------
 Reporter:  david.binda         |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  5.1.1
Component:  Networks and Sites  |     Version:  5.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------

Comment (by david.binda):

 Thanks for testing the patch!

 > So, again, I'm not suggesting that your patch is wrong, just that it
 results in slightly different behavior (for the default case of creating a
 site in the WP admin module) than 5.0.3.

 Yup, I wanted to introduce just minimal changes to the existing code, and
 was accepting the slightly different behaviour as a good enough.

 But, I've re-visited the code and the patch in order to achieve the same
 behaviour, and turns out the necessary changes are not that huge and do no
 make the code less readable. Please, see the updated patch.

 Thanks again!

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


More information about the wp-trac mailing list