- Timestamp:
- 12/16/2021 06:16:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r13160 r13189 7 7 * @package BuddyPress 8 8 * @subpackage BP_Theme_Compat 9 * @version 3.1.09 * @version 10.0.0 10 10 */ 11 11 … … 338 338 339 339 // Enqueue script. 340 wp_enqueue_script( $asset['handle'] . '-password-verify', $asset['location'], $dependencies, $this->version); 340 wp_enqueue_script( $asset['handle'] . '-password-verify', $asset['location'], $dependencies, $this->version ); 341 wp_localize_script( 342 $asset['handle'] . '-password-verify', 343 'bpPasswordVerify', 344 array( 345 'tooWeakPasswordWarning' => __( 'Your password is too weak, please use a stronger password.', 'buddypress' ), 346 'requiredPassStrength' => bp_members_user_pass_required_strength(), 347 ) 348 ); 341 349 } 342 350
Note: See TracChangeset
for help on using the changeset viewer.