[wp-trac] [WordPress Trac] #51333: Assign 'sites_pre_query' and 'networks_pre_query' filter results to the class property

WordPress Trac noreply at wordpress.org
Sun Nov 8 17:54:08 UTC 2020


#51333: Assign 'sites_pre_query' and 'networks_pre_query' filter results to the
class property
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.6
Component:  Networks and Sites                   |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Hi @yakimun, just wanted to say thanks for the PR, it is quite accurate
 and does exactly what's needed.

 It even has an added bonus of reusing the existing fixtures instead of
 creating new ones, which is something I did not initially think of, but is
 the right thing to do here.

 Great job :)

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


More information about the wp-trac mailing list