Changeset 8455 for trunk/src/bp-members/bp-members-admin.php
- Timestamp:
- 05/27/2014 04:35:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-admin.php
r8444 r8455 173 173 add_action( 'edit_user_profile', array( $this, 'profile_nav' ), 99, 1 ); 174 174 add_action( 'show_user_profile', array( $this, 'profile_nav' ), 99, 1 ); 175 176 // Editing users of a specific site 177 add_action( "admin_head-site-users.php", array( $this, 'profile_admin_head' ) ); 175 178 176 179 // Add a row action to users listing … … 480 483 481 484 // Force the parent file to users.php to open the correct top level menu 482 $parent_file = 'users.php'; 483 $submenu_file = 'users.php'; 485 // but only if not editing a site via the network site editing page. 486 if ( 'sites.php' !== $parent_file ) { 487 $parent_file = 'users.php'; 488 $submenu_file = 'users.php'; 489 } 484 490 485 491 // Editing your own profile, so recheck some vars … … 495 501 } 496 502 497 // Not editing yourse rf, so use user-edit.php503 // Not editing yourself, so use user-edit.php 498 504 } else { 499 505 $edit_page = 'user-edit.php';
Note: See TracChangeset
for help on using the changeset viewer.