Ticket #25201: 25201.3.diff
File 25201.3.diff, 736 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/script-loader.php
311 311 312 312 $scripts->add( 'zxcvbn-async', "/wp-includes/js/zxcvbn-async$suffix.js", array(), '1.0' ); 313 313 did_action( 'init' ) && $scripts->localize( 'zxcvbn-async', '_zxcvbnSettings', array( 314 'src' => includes_url( '/js/zxcvbn.min.js' ),314 'src' => site_url() ? includes_url( '/js/zxcvbn.min.js' ) : $scripts->base_url . '/wp-includes/js/zxcvbn.min.js', 315 315 ) ); 316 316 317 317 $scripts->add( 'password-strength-meter', "/wp-admin/js/password-strength-meter$suffix.js", array( 'jquery', 'zxcvbn-async' ), false, 1 );