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

see #31837.
Built from https://develop.svn.wordpress.org/trunk@32004


git-svn-id: http://core.svn.wordpress.org/trunk@31983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-04-04 14:14:26 +00:00
parent d8f67f4340
commit 59c586e5ad
3 changed files with 4 additions and 5 deletions

View File

@ -640,12 +640,11 @@
term = event.currentTarget.value.toLowerCase().trim().replace( '-', ' ' ),
controls = section.controls();
controls.pop(); // Remove the last control (the add-new control).
_.each( controls, function( control ) {
control.filter( term );
});
// Update theme count. Note that the add-theme tile is a div.customize-control.
// Update theme count.
count = section.container.find( 'li.customize-control:visible' ).length;
section.container.find( '.theme-count' ).text( count );
});

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta4-32003';
$wp_version = '4.2-beta4-32004';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.