[wp-trac] [WordPress Trac] #27289: Add populate_network action

WordPress Trac noreply at wordpress.org
Fri Oct 17 06:51:09 UTC 2025


#27289: Add populate_network action
---------------------------------------------+-----------------------------
 Reporter:  rmccue                           |       Owner:
                                             |  johnjamesjacoby
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  6.9
Component:  Networks and Sites               |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  multisite
---------------------------------------------+-----------------------------

Comment (by rollybueno):

 Using
 https://core.trac.wordpress.org/attachment/ticket/27289/27289-2.patch

 Since this is just additional hook on `populate_network`, I tested the
 unit directly using multisite params:
 {{{
 npm run test:php -- --filter  test_before_populate_network_hook -c
 tests/phpunit/multisite.xml
 npm run test:php -- --filter  test_populate_network_hook_filter -c
 tests/phpunit/multisite.xml
 }}}

 and the result seems okay:
 [[Image(https://i.imgur.com/ujjAFYG.png)]]

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


More information about the wp-trac mailing list