Changeset 16000 for trunk/wp-includes/script-loader.php
- Timestamp:
- 10/27/2010 06:57:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r15998 r16000 240 240 $scripts->add_data( 'imgareaselect', 'group', 1 ); 241 241 242 $scripts->add( 'password-strength-meter', "/wp-admin/js/password-strength-meter$suffix.js", array('jquery'), '20101027' ); 243 $scripts->add_data( 'password-strength-meter', 'group', 1 ); 244 $scripts->localize( 'password-strength-meter', 'pwsL10n', array( 245 'empty' => __('Strength indicator'), 246 'short' => __('Very weak'), 247 'bad' => __('Weak'), 248 /* translators: password strength */ 249 'good' => _x('Medium', 'password strength'), 250 'strong' => __('Strong'), 251 'mismatch' => __('Mismatch'), 252 'l10n_print_after' => 'try{convertEntities(pwsL10n);}catch(e){};' 253 ) ); 254 255 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20100925' ); 256 $scripts->add_data( 'user-profile', 'group', 1 ); 257 242 258 if ( is_admin() ) { 243 259 $scripts->add( 'ajaxcat', "/wp-admin/js/cat$suffix.js", array( 'wp-lists' ), '20090102' ); … … 262 278 $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20090106' ); 263 279 $scripts->add_data( 'admin-custom-fields', 'group', 1 ); 264 265 $scripts->add( 'password-strength-meter', "/wp-admin/js/password-strength-meter$suffix.js", array('jquery'), '20101027' );266 $scripts->add_data( 'password-strength-meter', 'group', 1 );267 $scripts->localize( 'password-strength-meter', 'pwsL10n', array(268 'empty' => __('Strength indicator'),269 'short' => __('Very weak'),270 'bad' => __('Weak'),271 /* translators: password strength */272 'good' => _x('Medium', 'password strength'),273 'strong' => __('Strong'),274 'mismatch' => __('Mismatch'),275 'l10n_print_after' => 'try{convertEntities(pwsL10n);}catch(e){};'276 ) );277 278 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20100925' );279 $scripts->add_data( 'user-profile', 'group', 1 );280 280 281 281 $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'list-table', 'jquery-ui-resizable', 'quicktags'), '20100818' );
Note: See TracChangeset
for help on using the changeset viewer.