plugin updates

This commit is contained in:
Tony Volpe
2024-07-16 13:57:46 +00:00
parent 41f50eacc4
commit 8f93917880
1529 changed files with 259452 additions and 25451 deletions

View File

@@ -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' );
}