plugin updates
This commit is contained in:
@@ -298,6 +298,11 @@ class WC_Frontend_Scripts {
|
||||
'deps' => array( 'jquery', 'woocommerce' ),
|
||||
'version' => $version,
|
||||
),
|
||||
'wc-account-i18n' => array(
|
||||
'src' => self::get_asset_url( 'assets/js/frontend/account-i18n' . $suffix . '.js' ),
|
||||
'deps' => array( 'jquery' ),
|
||||
'version' => $version,
|
||||
),
|
||||
'wc-password-strength-meter' => array(
|
||||
'src' => self::get_asset_url( 'assets/js/frontend/password-strength-meter' . $suffix . '.js' ),
|
||||
'deps' => array( 'jquery', 'password-strength-meter' ),
|
||||
@@ -389,6 +394,9 @@ class WC_Frontend_Scripts {
|
||||
self::enqueue_script( 'wc-password-strength-meter' );
|
||||
}
|
||||
}
|
||||
if ( is_account_page() ) {
|
||||
self::enqueue_script( 'wc-account-i18n' );
|
||||
}
|
||||
if ( is_checkout() ) {
|
||||
self::enqueue_script( 'wc-checkout' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user