Changeset 53488 for trunk/tests/phpunit/tests/user/wpListAuthors.php
- Timestamp:
- 06/11/2022 03:34:35 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/user/wpListAuthors.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpListAuthors.php
r53487 r53488 28 28 */ 29 29 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 30 global $wp_rewrite; 31 30 32 self::$user_ids[] = $factory->user->create( 31 33 array( … … 61 63 ) 62 64 ); 65 66 /* 67 * Re-initialize WP_Rewrite, so that get_author_posts_url() uses 68 * the default permalink structure, not affected by other tests. 69 */ 70 $wp_rewrite->init(); 63 71 64 72 $count = 0;
Note: See TracChangeset
for help on using the changeset viewer.