Changeset 33249
- Timestamp:
- 07/13/2015 10:34:18 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r33246 r33249 144 144 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0"> 145 145 <span class="dashicons dashicons-visibility"></span> 146 <span class="text"> hide</span>146 <span class="text"><?php _e( 'Hide' ); ?></span> 147 147 </button> 148 148 <div id="pass-strength-result"></div> -
trunk/src/wp-admin/js/user-profile.js
r33166 r33249 1 /* global ajaxurl, pwsL10n */1 /* global ajaxurl, pwsL10n, userProfileL10n */ 2 2 (function($){ 3 3 $(function(){ … … 97 97 pw_togglebtn.attr( 'data-toggle', 0 ) 98 98 .find( '.text' ) 99 .text( 'hide')99 .text( userProfileL10n.hide ) 100 100 ; 101 101 } else { … … 103 103 pw_togglebtn.attr( 'data-toggle', 1 ) 104 104 .find( '.text' ) 105 .text( 'show')105 .text( userProfileL10n.show ) 106 106 ; 107 107 } -
trunk/src/wp-admin/user-edit.php
r33246 r33249 468 468 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0"> 469 469 <span class="dashicons dashicons-visibility"></span> 470 <span class="text"> hide</span>470 <span class="text"><?php _e( 'Hide' ); ?></span> 471 471 </button> 472 472 <div style="display:none" id="pass-strength-result"></div> -
trunk/src/wp-admin/user-new.php
r33246 r33249 406 406 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0"> 407 407 <span class="dashicons dashicons-visibility"></span> 408 <span class="text"> hide</span>408 <span class="text"><?php _e( 'Hide' ); ?></span> 409 409 </button> 410 410 <div style="display:none" id="pass-strength-result"></div> -
trunk/src/wp-includes/script-loader.php
r33166 r33249 374 374 375 375 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter', 'wp-util' ), false, 1 ); 376 did_action( 'init' ) && $scripts->localize( 'user-profile', 'userProfileL10n', array( 377 'show' => __( 'Show' ), 378 'hide' => __( 'Hide' ), 379 ) ); 380 376 381 $scripts->add( 'language-chooser', "/wp-admin/js/language-chooser$suffix.js", array( 'jquery' ), false, 1 ); 377 382
Note: See TracChangeset
for help on using the changeset viewer.