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-theme-install-list-table.php

    r29002 r29137  
    177177        }
    178178
    179         protected function display_rows() {
     179        public function display_rows() {
    180180                $themes = $this->items;
    181181                foreach ( $themes as $theme ) {
    … …  
    208208         *     public 'download_link' => string 'http://wordpress.org/themes/download/magazine-basic.1.1.zip'
    209209         */
    210         protected function single_row( $theme ) {
     210        public function single_row( $theme ) {
    211211                global $themes_allowedtags;
    212212
    … …  
    397397         *
    398398         * @since 3.4.0
    399          * @access private
     399         * @access public
    400400         *
    401401         * @uses $tab Global; current tab within Themes->Install screen
    402402         * @uses $type Global; type of search.
    403403         */
    404         private function _js_vars( $extra_args = array() ) {
     404        public function _js_vars( $extra_args = array() ) {
    405405                global $tab, $type;
    406406                parent::_js_vars( compact( 'tab', 'type' ) );
Note: See TracChangeset for help on using the changeset viewer.