Ticket #9627: 9627.diff
| File 9627.diff, 1.5 KB (added by , 17 years ago) |
|---|
-
wp-admin/user-edit.php
79 79 <?php 80 80 } 81 81 82 if ( $is_profile_page ) { 83 add_action('admin_head', 'profile_js'); 84 wp_enqueue_script('jquery'); 85 wp_enqueue_script('password-strength-meter'); 86 } 82 add_action('admin_head', 'profile_js'); 83 wp_enqueue_script('jquery'); 84 wp_enqueue_script('password-strength-meter'); 87 85 88 86 $title = $is_profile_page? __('Profile') : __('Edit User'); 89 87 if ( current_user_can('edit_users') && !$is_profile_page ) … … 357 355 <th><label for="pass1"><?php _e('New Password'); ?></label></th> 358 356 <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br /> 359 357 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <?php _e("Type your new password again."); ?><br /> 360 <?php if ( $is_profile_page ): ?>361 358 <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 362 <p><?php _e('Hint: Your password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).'); ?></p> 363 <?php endif; ?> 359 <p><?php _e('Hint: A password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).'); ?></p> 364 360 </td> 365 361 </tr> 366 362 <?php endif; ?>