WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/13/2014 10:08:22 PM (6 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-themes-list-table.php

    r29118 r29137  
    115115    }
    116116
    117     protected function display_rows_or_placeholder() {
     117    public function display_rows_or_placeholder() {
    118118        if ( $this->has_items() ) {
    119119            $this->display_rows();
     
    125125    }
    126126
    127     protected function display_rows() {
     127    public function display_rows() {
    128128        $themes = $this->items;
    129129
     
    244244     *
    245245     * @since 3.4.0
    246      * @access private
     246     * @access public
    247247     *
    248248     * @uses $this->features Array of all feature search terms.
     
    250250     * @uses _pagination_args['total_pages']
    251251     */
    252     private function _js_vars( $extra_args = array() ) {
     252    public function _js_vars( $extra_args = array() ) {
    253253        $search_string = isset( $_REQUEST['s'] ) ? esc_attr( wp_unslash( $_REQUEST['s'] ) ) : '';
    254254
Note: See TracChangeset for help on using the changeset viewer.