Changeset 6080 for trunk/tests/phpunit/testcases/users/template/user.php
- Timestamp:
- 08/25/2016 10:10:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/users/template/user.php
r5947 r6080 127 127 $this->set_permalink_structure( '/%postname%/' ); 128 128 129 $profile_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/" rel="nofollow">' . $display_name . '</a>';129 $profile_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/" rel="nofollow">' . $display_name . '</a>'; 130 130 $user_profile_link = bbp_get_user_profile_link( $this->keymaster_id ); 131 131 … … 176 176 // Pretty permalinks 177 177 $this->set_permalink_structure( '/%postname%/' ); 178 $profile_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/';178 $profile_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/'; 179 179 $user_profile_url = bbp_get_user_profile_url( $this->keymaster_id ); 180 180 … … 211 211 // Pretty permalinks 212 212 $this->set_permalink_structure( '/%postname%/' ); 213 $profile_edit_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/edit/" rel="nofollow">' . $display_name . '</a>';213 $profile_edit_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/edit/" rel="nofollow">' . $display_name . '</a>'; 214 214 $user_profile_edit_link = bbp_get_user_profile_edit_link( $this->keymaster_id ); 215 215 … … 243 243 // Pretty permalinks 244 244 $this->set_permalink_structure( '/%postname%/' ); 245 $profile_edit_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/edit/';245 $profile_edit_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/edit/'; 246 246 247 247 // Output. … … 267 267 // Pretty permalinks 268 268 $this->set_permalink_structure( '/%postname%/' ); 269 $profile_edit_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/edit/';269 $profile_edit_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/edit/'; 270 270 271 271 // String. … … 372 372 // Pretty permalinks 373 373 $this->set_permalink_structure( '/%postname%/' ); 374 $favorites_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/favorites/';374 $favorites_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/favorites/'; 375 375 376 376 // Output. … … 396 396 // Pretty permalinks 397 397 $this->set_permalink_structure( '/%postname%/' ); 398 $favorites_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/favorites/';398 $favorites_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/favorites/'; 399 399 400 400 // String. … … 428 428 // Pretty permalinks 429 429 $this->set_permalink_structure( '/%postname%/' ); 430 $subscriptions_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/subscriptions/';430 $subscriptions_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/subscriptions/'; 431 431 432 432 // Output. … … 452 452 // Pretty permalinks 453 453 $this->set_permalink_structure( '/%postname%/' ); 454 $subscriptions_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/subscriptions/';454 $subscriptions_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/subscriptions/'; 455 455 456 456 // String. … … 561 561 // Pretty permalinks 562 562 $this->set_permalink_structure( '/%postname%/' ); 563 $topics_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/topics/';563 $topics_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/topics/'; 564 564 565 565 // Output. … … 585 585 // Pretty permalinks 586 586 $this->set_permalink_structure( '/%postname%/' ); 587 $topics_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/topics/';587 $topics_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/topics/'; 588 588 589 589 // String. … … 605 605 // Pretty permalinks 606 606 $this->set_permalink_structure( '/%postname%/' ); 607 $replies_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/replies/';607 $replies_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/replies/'; 608 608 609 609 // Output. … … 629 629 // Pretty permalinks 630 630 $this->set_permalink_structure( '/%postname%/' ); 631 $replies_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/replies/';631 $replies_created_url = 'http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/replies/'; 632 632 633 633 // String. … … 711 711 // Pretty permalinks 712 712 $this->set_permalink_structure( '/%postname%/' ); 713 $author_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/" title="View ' . $display_name .713 $author_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/" title="View ' . $display_name . 714 714 ''s profile" class="bbp-author-avatar" rel="nofollow">' . $wp_avatar . 715 '</a> <a href="http://' . WP_TESTS_DOMAIN . '/forums/user /' . $this->keymaster_userdata->user_nicename . '/" title="View ' . $display_name .715 '</a> <a href="http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/" title="View ' . $display_name . 716 716 ''s profile" class="bbp-author-name" rel="nofollow">' . $display_name . '</a>'; 717 717
Note: See TracChangeset
for help on using the changeset viewer.