Use correct name in script loader. see #14936.

git-svn-id: https://develop.svn.wordpress.org/trunk@16524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-11-21 14:10:33 +00:00
parent 3c7fb2fb3b
commit dce66b369f
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ function wp_default_scripts( &$scripts ) {
'l10n_print_after' => 'try{convertEntities(wordCountL10n);}catch(e){};' 'l10n_print_after' => 'try{convertEntities(wordCountL10n);}catch(e){};'
)); ));
$scripts->add( 'theme-preview', "/wp-admin/js/theme$suffix.js", array( 'thickbox', 'jquery' ), '20100407' ); $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'thickbox', 'jquery' ), '20100407' );
$scripts->add_data( 'theme', 'group', 1 ); $scripts->add_data( 'theme', 'group', 1 );
$scripts->add( 'theme-preview', "/wp-admin/js/theme-preview$suffix.js", array( 'thickbox', 'jquery' ), '20100407' ); $scripts->add( 'theme-preview', "/wp-admin/js/theme-preview$suffix.js", array( 'thickbox', 'jquery' ), '20100407' );