WordPress.org

Make WordPress Core

Ticket #18394: 18394.diff

File 18394.diff, 1.1 KB (added by nacin, 3 years ago)
  • wp-admin/install.php

     
    243243} 
    244244?> 
    245245<script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script> 
    246 <script type="text/javascript" src="../wp-includes/js/jquery/jquery.js"></script> 
    247 <script type="text/javascript" src="js/password-strength-meter.js"></script> 
    248 <script type="text/javascript" src="js/user-profile.js"></script> 
    249 <script type="text/javascript" src="../wp-includes/js/l10n.js"></script> 
    250 <script type='text/javascript'> 
    251 /* <![CDATA[ */ 
    252 var pwsL10n = { 
    253  empty: "<?php echo esc_js( __( 'Strength indicator' ) ); ?>", 
    254  short: "<?php echo esc_js( __( 'Very weak' ) ); ?>", 
    255  bad: "<?php echo esc_js( __( 'Weak' ) ); ?>", 
    256  good: "<?php echo esc_js( _x( 'Medium', 'password strength' ) ); ?>", 
    257  strong: "<?php echo esc_js( __( 'Strong' ) ); ?>", 
    258  mismatch: "<?php echo esc_js( __( 'Mismatch' ) ); ?>" 
    259 }; 
    260 try{convertEntities(pwsL10n);}catch(e){}; 
    261 /* ]]> */ 
    262 </script> 
     246<?php wp_print_scripts( 'user-profile' ); ?> 
    263247</body> 
    264248</html>