Make WordPress Core

Changeset 30267


Ignore:
Timestamp:
11/07/2014 01:24:19 AM (10 years ago)
Author:
boonebgorges
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.