Ticket #28843: 28843.patch
File 28843.patch, 6.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/includes/class-wp-links-list-table.php
75 75 <?php 76 76 } 77 77 78 p rotectedfunction get_columns() {78 public function get_columns() { 79 79 return array( 80 80 'cb' => '<input type="checkbox" />', 81 81 'name' => _x( 'Name', 'link name' ), -
src/wp-admin/includes/class-wp-list-table.php
538 538 * Get the current page number 539 539 * 540 540 * @since 3.1.0 541 * @access p rotected541 * @access public 542 542 * 543 543 * @return int 544 544 */ 545 p rotectedfunction get_pagenum() {545 public function get_pagenum() { 546 546 $pagenum = isset( $_REQUEST['paged'] ) ? absint( $_REQUEST['paged'] ) : 0; 547 547 548 548 if( isset( $this->_pagination_args['total_pages'] ) && $pagenum > $this->_pagination_args['total_pages'] ) … … 675 675 * 'internal-name' => 'Title' 676 676 * 677 677 * @since 3.1.0 678 * @access p rotected678 * @access public 679 679 * @abstract 680 680 * 681 681 * @return array 682 682 */ 683 p rotectedfunction get_columns() {683 public function get_columns() { 684 684 die( 'function WP_List_Table::get_columns() must be over-ridden in a sub-class.' ); 685 685 } 686 686 -
src/wp-admin/includes/class-wp-media-list-table.php
170 170 <?php 171 171 } 172 172 173 p rotectedfunction get_columns() {173 public function get_columns() { 174 174 $posts_columns = array(); 175 175 $posts_columns['cb'] = '<input type="checkbox" />'; 176 176 $posts_columns['icon'] = ''; -
src/wp-admin/includes/class-wp-ms-sites-list-table.php
143 143 $this->view_switcher( $mode ); 144 144 } 145 145 146 p rotectedfunction get_columns() {146 public function get_columns() { 147 147 $blogname_columns = ( is_subdomain_install() ) ? __( 'Domain' ) : __( 'Path' ); 148 148 $sites_columns = array( 149 149 'cb' => '<input type="checkbox" />', -
src/wp-admin/includes/class-wp-ms-themes-list-table.php
174 174 _e( 'You do not appear to have any themes available at this time.' ); 175 175 } 176 176 177 p rotectedfunction get_columns() {177 public function get_columns() { 178 178 global $status; 179 179 180 180 return array( -
src/wp-admin/includes/class-wp-ms-users-list-table.php
108 108 $this->view_switcher( $mode ); 109 109 } 110 110 111 p rotectedfunction get_columns() {111 public function get_columns() { 112 112 $users_columns = array( 113 113 'cb' => '<input type="checkbox" />', 114 114 'username' => __( 'Username' ), -
src/wp-admin/includes/class-wp-plugin-install-list-table.php
207 207 return array( 'widefat', $this->_args['plural'] ); 208 208 } 209 209 210 p rotectedfunction get_columns() {210 public function get_columns() { 211 211 return array( 212 212 'name' => _x( 'Name', 'plugin name' ), 213 213 'version' => __( 'Version' ), -
src/wp-admin/includes/class-wp-plugins-list-table.php
210 210 _e( 'You do not appear to have any plugins available at this time.' ); 211 211 } 212 212 213 p rotectedfunction get_columns() {213 public function get_columns() { 214 214 global $status; 215 215 216 216 return array( -
src/wp-admin/includes/class-wp-posts-list-table.php
264 264 return array( 'widefat', 'fixed', is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' ); 265 265 } 266 266 267 p rotectedfunction get_columns() {267 public function get_columns() { 268 268 $post_type = $this->screen->post_type; 269 269 270 270 $posts_columns = array(); -
src/wp-admin/includes/class-wp-terms-list-table.php
116 116 return parent::current_action(); 117 117 } 118 118 119 p rotectedfunction get_columns() {119 public function get_columns() { 120 120 $columns = array( 121 121 'cb' => '<input type="checkbox" />', 122 122 'name' => _x( 'Name', 'term name' ), -
src/wp-admin/includes/class-wp-themes-list-table.php
110 110 <?php 111 111 } 112 112 113 p rotectedfunction get_columns() {113 public function get_columns() { 114 114 return array(); 115 115 } 116 116