Make WordPress Core


Ignore:
Timestamp:
04/01/2015 11:34:23 AM (11 years ago)
Author:
ocean90
Message:

Customizer Theme Switcher: Fix invalid HTML markup when New Theme control is added.

see #31203.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r31933 r31950  
    12441244
    12451245        /**
    1246          * Render the new control.
     1246         * Render the control content.
    12471247         *
    12481248         * @since 4.2.0
    12491249         */
    1250         public function render() {
    1251                 if ( is_multisite() || ! current_user_can( 'install_themes') ) {
    1252                         return;
    1253                 }
     1250        public function render_content() {
    12541251                ?>
    12551252                <div class="theme add-new-theme">
Note: See TracChangeset for help on using the changeset viewer.