mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
About page: Don't load zxcvbn, which is a dependency of an unused piece of user-profile.js.
git-svn-id: https://develop.svn.wordpress.org/trunk@26799 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -13,7 +13,10 @@ $title = __( 'About' );
|
||||
|
||||
list( $display_version ) = explode( '-', $wp_version );
|
||||
|
||||
wp_enqueue_script( 'about' );
|
||||
// Temporary 3.8 hack: We want to use user-profile for the color schemes but don't need the heavy zxcvbn.
|
||||
wp_deregister_script( 'zxcvbn-async' );
|
||||
wp_register_script( 'zxcvbn-async', true );
|
||||
wp_enqueue_script( 'user-profile' );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user