Core updates for the new color schemes.
* Update about page, there's now 8. * Display them four wide, not three, and ensure adequate spacing. * Use a dedicated nonce. * Push Light to the front in addition to Default. * Use user-profile.js on about.php. A few extra things are initialized but they are harmless. see #26468, #26387. Built from https://develop.svn.wordpress.org/trunk@26776 git-svn-id: http://core.svn.wordpress.org/trunk@26663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -331,7 +331,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
|
||||
$scripts->add( 'user-suggest', "/wp-admin/js/user-suggest$suffix.js", array( 'jquery-ui-autocomplete' ), false, 1 );
|
||||
|
||||
$scripts->add( 'about', "/wp-admin/js/about$suffix.js", array( 'jquery', 'password-strength-meter' ), false, 1 );
|
||||
$scripts->add( 'about', false, array( 'user-profile' ), false );
|
||||
|
||||
$scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", array(), false, 1 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user