Make WordPress Core


Ignore:
Timestamp:
12/08/2013 07:27:32 AM (10 years ago)
Author:
nacin
Message:

About page: Don't load zxcvbn, which is a dependency of an unused piece of user-profile.js.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r26795 r26799  
    1414list( $display_version ) = explode( '-', $wp_version );
    1515
    16 wp_enqueue_script( 'about' );
     16// Temporary 3.8 hack: We want to use user-profile for the color schemes but don't need the heavy zxcvbn.
     17wp_deregister_script( 'zxcvbn-async' );
     18wp_register_script( 'zxcvbn-async', true );
     19wp_enqueue_script( 'user-profile' );
    1720
    1821include( ABSPATH . 'wp-admin/admin-header.php' );
Note: See TracChangeset for help on using the changeset viewer.