- 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-plugin-install-list-table.php
r28388 r28493 10 10 class WP_Plugin_Install_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('install_plugins'); 14 14 } 15 15 16 function prepare_items() {16 public function prepare_items() { 17 17 include( ABSPATH . 'wp-admin/includes/plugin-install.php' ); 18 18 … … 134 134 } 135 135 136 function no_items() {136 public function no_items() { 137 137 _e( 'No plugins match your request.' ); 138 138 } 139 139 140 function get_views() {140 protected function get_views() { 141 141 global $tabs, $tab; 142 142 … … 151 151 } 152 152 153 function display_tablenav( $which ) {153 protected function display_tablenav( $which ) { 154 154 if ( 'top' == $which ) { ?> 155 155 <div class="tablenav top"> … … 175 175 } 176 176 177 function get_table_classes() {177 protected function get_table_classes() { 178 178 return array( 'widefat', $this->_args['plural'] ); 179 179 } 180 180 181 function get_columns() {181 protected function get_columns() { 182 182 return array( 183 183 'name' => _x( 'Name', 'plugin name' ), … … 188 188 } 189 189 190 function display_rows() {190 protected function display_rows() { 191 191 $plugins_allowedtags = array( 192 192 'a' => array( 'href' => array(),'title' => array(), 'target' => array() ),
Note: See TracChangeset
for help on using the changeset viewer.