- Timestamp:
- 05/19/2014 01:16:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r28295 r28493 10 10 class WP_MS_Users_List_Table extends WP_List_Table { 11 11 12 function ajax_user_can() {12 public function ajax_user_can() { 13 13 return current_user_can( 'manage_network_users' ); 14 14 } 15 15 16 function prepare_items() {16 public function prepare_items() { 17 17 global $usersearch, $role, $wpdb, $mode; 18 18 … … 70 70 } 71 71 72 function get_bulk_actions() {72 protected function get_bulk_actions() { 73 73 $actions = array(); 74 74 if ( current_user_can( 'delete_users' ) ) … … 80 80 } 81 81 82 function no_items() {82 public function no_items() { 83 83 _e( 'No users found.' ); 84 84 } 85 85 86 function get_views() {86 protected function get_views() { 87 87 global $role; 88 88 … … 100 100 } 101 101 102 function pagination( $which ) {102 protected function pagination( $which ) { 103 103 global $mode; 104 104 … … 109 109 } 110 110 111 function get_columns() {111 protected function get_columns() { 112 112 $users_columns = array( 113 113 'cb' => '<input type="checkbox" />', … … 131 131 } 132 132 133 function get_sortable_columns() {133 protected function get_sortable_columns() { 134 134 return array( 135 135 'username' => 'login', … … 140 140 } 141 141 142 function display_rows() {142 protected function display_rows() { 143 143 global $mode; 144 144
Note: See TracChangeset
for help on using the changeset viewer.