Changeset 34810 for trunk/tests/phpunit/tests/user/author.php
- Timestamp:
- 10/03/2015 08:54:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/author.php
r34802 r34810 128 128 */ 129 129 public function test_get_the_author_posts_link_with_permalinks() { 130 global $wp_rewrite; 131 $wp_rewrite->init(); 132 $wp_rewrite->set_permalink_structure( '/%postname%/' ); 133 $wp_rewrite->flush_rules(); 130 $this->set_permalink_structure( '/%postname%/' ); 134 131 135 132 $author = $this->factory->user->create_and_get( array(
Note: See TracChangeset
for help on using the changeset viewer.