[wp-trac] [WordPress Trac] #28692: Polluted table_prefix and switched_stack in multisite unit tests
WordPress Trac
noreply at wordpress.org
Tue Jul 1 18:51:48 UTC 2014
#28692: Polluted table_prefix and switched_stack in multisite unit tests
------------------------------+-----------------------------
Reporter: jeremyfelt | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"28943"]:
{{{
#!CommitTicketReference repository="" revision="28943"
Avoid polluted `$table_prefix` and `$_wp_switched_stack` in multisite unit
tests.
Add `WP_TESTS_TABLE_PREFIX` in `bootstrap.php` to ensure the original
value for `$table_prefix` is always available.
Props jeremyfelt.
Fixes #28692.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28692#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list