[wp-trac] [WordPress Trac] #38196: post/output.php tests are leaky
WordPress Trac
noreply at wordpress.org
Fri Sep 30 03:15:37 UTC 2016
#38196: post/output.php tests are leaky
------------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+------------------
Comment (by boonebgorges):
In [changeset:"38678"]:
{{{
#!CommitTicketReference repository="" revision="38678"
Tests: Reset post-related globals after each test.
Globals like `$pages` were leaking between tests, resulting in various
bits of weirdness.
Globals will kill WordPress. Globals are killing WordPress.
See #38196.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38196#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list