Unset the default permalink structure after installing Multisite for automated tests.
Most of our unit tests that involve permalinks expect non-pretty permalinks; this is the default setting for WP. However, when the test suite installs multisite, `populate_network()` is run before WP recogizes itself as multisite, which leads to pretty permalinks being set. This breaks a number of unit tests in ways that are difficult to trace. Built from https://develop.svn.wordpress.org/trunk@30267 git-svn-id: http://core.svn.wordpress.org/trunk@30267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0b1cd9a67a
commit
88de93790b
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.1-alpha-30266';
|
$wp_version = '4.1-alpha-30267';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue