Changeset 8582
- Timestamp:
- 07/10/2014 06:51:21 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-members/bp-members-admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-admin.php
r8455 r8582 1131 1131 1132 1132 // Bail if this is an ajax request 1133 if ( defined( 'DOING_AJAX' ) ) 1133 if ( defined( 'DOING_AJAX' ) ) { 1134 1134 return; 1135 1135 } 1136 1137 // Bail if updating BuddyPress 1136 1138 if ( bp_is_update() ) { 1137 1139 return; 1138 1140 } 1139 1141 1140 if ( ! function_exists( 'get_current_screen' ) ) { 1142 // Bail if there is no current admin screen 1143 if ( ! function_exists( 'get_current_screen' ) || ! get_current_screen() ) { 1141 1144 return; 1142 1145 } 1143 1146 1144 if ( $this->users_page != get_current_screen()->id ) { 1147 // Bail if not on a users page 1148 if ( $this->users_page !== get_current_screen()->id ) { 1145 1149 return; 1146 1150 } 1147 1151 1152 // Bail if already querying by an existing role 1148 1153 if ( ! empty( $query->query_vars['role'] ) ) { 1149 1154 return;
Note: See TracChangeset
for help on using the changeset viewer.