Load farbtastic.js has to be loaded in the head, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
75c6fc4c3a
commit
6dd4f1ee1f
|
@ -368,7 +368,6 @@ function wp_default_scripts( &$scripts ) {
|
||||||
) );
|
) );
|
||||||
|
|
||||||
$scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array('jquery'), '1.2' );
|
$scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array('jquery'), '1.2' );
|
||||||
$scripts->add_data( 'farbtastic', 'group', 1 );
|
|
||||||
|
|
||||||
$scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20090201' );
|
$scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20090201' );
|
||||||
$scripts->add_data( 'dashboard', 'group', 1 );
|
$scripts->add_data( 'dashboard', 'group', 1 );
|
||||||
|
|
Loading…
Reference in New Issue