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:
parent
3c7fb2fb3b
commit
dce66b369f
|
@ -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' );
|
||||||
|
|
Loading…
Reference in New Issue