- Timestamp:
- 04/15/2016 04:59:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/bp-members/classes/class-bp-members-ms-list-table.php ΒΆ
r10579 r10711 95 95 global $role; 96 96 97 // Used to reset the role 97 // Used to reset the role. 98 98 $reset_role = $role; 99 99 100 // Temporarly set the role to registered 100 // Temporarly set the role to registered. 101 101 $role = 'registered'; 102 102 103 // Used to reset the screen id once views are displayed 103 // Used to reset the screen id once views are displayed. 104 104 $reset_screen_id = $this->screen->id; 105 105 106 // Temporarly set the screen id to the users one 106 // Temporarly set the screen id to the users one. 107 107 $this->screen->id = 'users-network'; 108 108 109 // Use the parent function so that other plugins can safely add views 109 // Use the parent function so that other plugins can safely add views. 110 110 parent::views(); 111 111 112 // Reset the role 112 // Reset the role. 113 113 $role = $reset_role; 114 114 115 // Reset the screen id 115 // Reset the screen id. 116 116 $this->screen->id = $reset_screen_id; 117 117 }
Note: See TracChangeset
for help on using the changeset viewer.