Changeset 48270 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 07/01/2020 08:36:32 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r48268 r48270 1066 1066 1067 1067 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter', 'wp-util' ), false, 1 ); 1068 did_action( 'init' ) && $scripts->localize( 1069 'user-profile', 1070 'userProfileL10n', 1071 array( 1072 'warn' => __( 'Your new password has not been saved.' ), 1073 'warnWeak' => __( 'Confirm use of weak password' ), 1074 'show' => __( 'Show' ), 1075 'hide' => __( 'Hide' ), 1076 'cancel' => __( 'Cancel' ), 1077 'ariaShow' => esc_attr__( 'Show password' ), 1078 'ariaHide' => esc_attr__( 'Hide password' ), 1079 ) 1080 ); 1068 $scripts->set_translations( 'user-profile' ); 1081 1069 1082 1070 $scripts->add( 'language-chooser', "/wp-admin/js/language-chooser$suffix.js", array( 'jquery' ), false, 1 );
Note: See TracChangeset
for help on using the changeset viewer.