Changeset 32139 for trunk/tests/phpunit/includes/install.php
- Timestamp:
- 04/16/2015 11:59:01 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/install.php
r30267 r32139 45 45 } 46 46 47 // Prefill a permalink structure so that WP doesn't try to determine one itself. 48 add_action( 'populate_options', '_set_default_permalink_structure_for_tests' ); 49 47 50 wp_install( WP_TESTS_TITLE, 'admin', WP_TESTS_EMAIL, true, null, 'password' ); 51 52 // Delete dummy permalink structure, as prefilled above. 53 if ( ! is_multisite() ) { 54 delete_option( 'permalink_structure' ); 55 } 56 remove_action( 'populate_options', '_set_default_permalink_structure_for_tests' ); 48 57 49 58 if ( $multisite ) {
Note: See TracChangeset
for help on using the changeset viewer.