diff --git a/plugins/woocommerce/changelog/41325-fix-41324-empty-orders-cta b/plugins/woocommerce/changelog/41325-fix-41324-empty-orders-cta new file mode 100644 index 00000000000..12bcded6bd5 --- /dev/null +++ b/plugins/woocommerce/changelog/41325-fix-41324-empty-orders-cta @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Added missing CSS class on the empty-orders notice CTA in the My Account > Orders page \ No newline at end of file diff --git a/plugins/woocommerce/templates/myaccount/orders.php b/plugins/woocommerce/templates/myaccount/orders.php index fc2049fe162..c91647f228e 100644 --- a/plugins/woocommerce/templates/myaccount/orders.php +++ b/plugins/woocommerce/templates/myaccount/orders.php @@ -14,7 +14,7 @@ * * @see https://woo.com/document/template-structure/ * @package WooCommerce\Templates - * @version 7.8.0 + * @version 8.5.0 */ defined( 'ABSPATH' ) || exit; @@ -97,7 +97,7 @@ do_action( 'woocommerce_before_account_orders', $has_orders ); ?> - ' . esc_html__( 'Browse products', 'woocommerce' ) . '', 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment ?> + ' . esc_html__( 'Browse products', 'woocommerce' ) . '', 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment ?>