WordPress.org

Make WordPress Core

Changeset 32004


Ignore:
Timestamp:
04/04/2015 02:13:14 PM (4 years ago)
Author:
ocean90
Message:

Customizer Theme Switcher: Remove "Add New" reference from customize-controls.js.

see #31837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r31975 r32004  
    641641                    controls = section.controls();
    642642
    643                 controls.pop(); // Remove the last control (the add-new control).
    644 
    645643                _.each( controls, function( control ) {
    646644                    control.filter( term );
    647645                });
    648                 // Update theme count. Note that the add-theme tile is a div.customize-control.
     646
     647                // Update theme count.
    649648                count = section.container.find( 'li.customize-control:visible' ).length;
    650649                section.container.find( '.theme-count' ).text( count );
Note: See TracChangeset for help on using the changeset viewer.