Changeset 32139 for trunk/tests/phpunit/includes/functions.php
- Timestamp:
- 04/16/2015 11:59:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/functions.php
r28797 r32139 104 104 } 105 105 } 106 107 /** 108 * Set a permalink structure. 109 * 110 * Hooked as a callback to the 'populate_options' action, we use this function to set a permalink structure during 111 * `wp_install()`, so that WP doesn't attempt to do a time-consuming remote request. 112 * 113 * @since 4.2.0 114 */ 115 function _set_default_permalink_structure_for_tests() { 116 update_option( 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/' ); 117 }
Note: See TracChangeset
for help on using the changeset viewer.