Make WordPress Core


Ignore:
Timestamp:
07/13/2014 10:08:22 PM (12 years ago)
Author:
wonderboymusic
Message:

Fix mismatches in access modifiers for WP_List_Table + subclasses.

Fixes #28843, #28879.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r28916 r29137  
    149149        }
    150150
    151         public function get_views() {
     151        protected function get_views() {
    152152                global $post_id, $comment_status, $comment_type;
    153153
    … …  
    202202        }
    203203
    204         public function get_bulk_actions() {
     204        protected function get_bulk_actions() {
    205205                global $comment_status;
    206206
    … …  
    226226        }
    227227
    228         public function extra_tablenav( $which ) {
     228        protected function extra_tablenav( $which ) {
    229229                global $comment_status, $comment_type;
    230230?>
    … …  
    302302        }
    303303
    304         public function get_sortable_columns() {
     304        protected function get_sortable_columns() {
    305305                return array(
    306306                        'author'   => 'comment_author',
    … …  
    583583class WP_Post_Comments_List_Table extends WP_Comments_List_Table {
    584584
    585         public function get_column_info() {
     585        protected function get_column_info() {
    586586                $this->_column_headers = array(
    587587                        array(
    … …  
    596596        }
    597597
    598         public function get_table_classes() {
     598        protected function get_table_classes() {
    599599                $classes = parent::get_table_classes();
    600600                $classes[] = 'comments-box';
Note: See TracChangeset for help on using the changeset viewer.