[wp-trac] [WordPress Trac] #58776: Main query global not reset after tests

WordPress Trac noreply at wordpress.org
Mon Jul 10 20:52:51 UTC 2023


#58776: Main query global not reset after tests
--------------------------------------+-----------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.3
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by flixos90):

 https://github.com/WordPress/wordpress-develop/pull/4823 addresses this
 bug in a simple way. All existing tests still pass without any
 modifications, so this should be a straightforward fix.

 With that fix, the new tests that are being added in
 https://github.com/WordPress/wordpress-develop/pull/4799 should also pass
 as expected. cc @joemcgill

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


More information about the wp-trac mailing list