Changeset 11815 for trunk/src/bp-core/bp-core-buddybar.php
- Timestamp:
- 01/20/2018 09:41:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-buddybar.php
r11814 r11815 676 676 $bp = buddypress(); 677 677 678 // If a redirect URL has been passed to the subnav 679 // item, respect it. 678 // If a redirect URL has been passed to the subnav item, respect it. 680 679 if ( ! empty( $subnav_item['no_access_url'] ) ) { 681 $message = __( 'You do not have access to th ispage.', 'buddypress' );680 $message = __( 'You do not have access to that page.', 'buddypress' ); 682 681 $redirect_to = trailingslashit( $subnav_item['no_access_url'] ); 683 682 … … 695 694 // publicly accessible. 696 695 if ( bp_is_my_profile() || ( isset( $parent_nav_default_item ) && $parent_nav_default_item->show_for_displayed_user ) ) { 697 $message = __( 'You do not have access to th ispage.', 'buddypress' );696 $message = __( 'You do not have access to that page.', 'buddypress' ); 698 697 $redirect_to = bp_displayed_user_domain(); 699 698 … … 723 722 'root' => $redirect_to, 724 723 'redirect' => false, 724 'mode' => 1 725 725 ); 726 726
Note: See TracChangeset
for help on using the changeset viewer.