From ba746b6f1d6dcba2d159b8331ceec3631781bf69 Mon Sep 17 00:00:00 2001 From: jamesros Date: Thu, 19 Dec 2024 12:54:39 -0500 Subject: [PATCH] Branch 2.22.8 (#138) * Update myaccount/orders.php template * update versions and readme * update version and readme --- README.md | 13 +++++++++++++ package.json | 2 +- prime/woocommerce/myaccount/orders.php | 23 ++++++++++++++--------- readme.txt | 5 ++++- src/boldgrid-theme-framework.php | 2 +- style.css | 2 +- 6 files changed, 34 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index faf1d61d..167bb74a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,19 @@ Crio is a WordPress SuperTheme that allows front-end designers, developers and o ## Changelog ## +### 2.22.8 ### +* Update: Updated WooCommerce Templates [#137](https://github.com/BoldGrid/crio/issues/137) + +### 2.22.7 ### +* Bug Fix: Customizer broken with WP 6.7 [#135](https://github.com/BoldGrid/crio/issues/135) + +### 2.22.6 ### +* update: Updated WooCommerce templates [#134](https://github.com/BoldGrid/crio/pull/134) + +### 2.22.5 ### +* Update: Updated WooCommerce templates [#132](https://github.com/BoldGrid/crio/issues/132) +* Bug Fix: buttons.css gets lost on update to WP 6.6 [#131](https://github.com/BoldGrid/crio/issues/131) + ### 2.22.4 ### * Update: Updated WooCommerce templates [#127](https://github.com/BoldGrid/crio/issues/127) * Bug Fix: Deprecated errors in wp-admin [#126](https://github.com/BoldGrid/crio/issues/126) diff --git a/package.json b/package.json index 679a79e0..86233dfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "boldgrid-theme-framework", - "version": "2.22.7", + "version": "2.22.8", "description": "BoldGrid Theme Framework", "main": "index.js", "engines": { diff --git a/prime/woocommerce/myaccount/orders.php b/prime/woocommerce/myaccount/orders.php index 6d35c972..67d3ac1e 100755 --- a/prime/woocommerce/myaccount/orders.php +++ b/prime/woocommerce/myaccount/orders.php @@ -14,7 +14,7 @@ * * @see https://woocommerce.com/document/template-structure/ * @package WooCommerce\Templates - * @version 9.2.0 + * @version 9.5.0 */ defined( 'ABSPATH' ) || exit; @@ -75,12 +75,20 @@ if ( ! empty( $actions ) ) { foreach ( $actions as $key => $action ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited - echo '' . esc_html( $action['name'] ) . ''; + if ( empty( $action['aria-label'] ) ) { + // Generate the aria-label based on the action name. + /* translators: %1$s Action name, %2$s Order number. */ + $action_aria_label = sprintf( __( '%1$s order number %2$s', 'woocommerce' ), $action['name'], $order->get_order_number() ); + } else { + $action_aria_label = $action['aria-label']; + } + echo '' . esc_html( $action['name'] ) . ''; + unset( $action_aria_label ); } } ?> - + @@ -109,12 +117,9 @@ -
- - - - -
+ + ' . esc_html__( 'Browse products', 'woocommerce' ) . '', 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment ?> + diff --git a/readme.txt b/readme.txt index b6f5aac2..945df888 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: news, blog, e-commerce, sticky-post, theme-options, threaded-comments, ful Requires PHP: 5.6 Requires at least: 4.8 Tested up to: 6.7 -Stable tag: 2.22.7 +Stable tag: 2.22.8 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0-standalone.html @@ -22,6 +22,9 @@ This version changes the way the color palette CSS is generated. If you are usin ## Changelog ## +== 2.22.8 == +* Update: Updated WooCommerce Templates [#137](https://github.com/BoldGrid/crio/issues/137) + == 2.22.7 == * Bug Fix: Customizer broken with WP 6.7 [#135](https://github.com/BoldGrid/crio/issues/135) diff --git a/src/boldgrid-theme-framework.php b/src/boldgrid-theme-framework.php index 0903efab..432cd0ae 100644 --- a/src/boldgrid-theme-framework.php +++ b/src/boldgrid-theme-framework.php @@ -3,7 +3,7 @@ * Plugin Name: BoldGrid Theme Framework * Plugin URI: https://www.boldgrid.com/docs/configuration-file * Description: BoldGrid Theme Framework is a library that allows you to easily make BoldGrid themes. Please see our reference guide for more information: https://www.boldgrid.com/docs/configuration-file - * Version: 2.22.7 + * Version: 2.22.8 * Author: BoldGrid.com * Author URI: https://www.boldgrid.com/ * Text Domain: bgtfw diff --git a/style.css b/style.css index 1f1c3541..47d544c0 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Author: BoldGrid Theme URI: https://www.boldgrid.com/themes/crio/ Author URI: https://www.boldgrid.com/ Description: Crio is a WordPress SuperTheme that allows front-end designers, developers and other web professionals to create without bounds or restrictions. Crio's advanced customization options are completely integrated with the WordPress Customizer API, providing you with a powerful, but familiar interface to customize your website. Our integration gives you granular control over many elements straight from the Customizer, and even device previews so you can see how your site looks on different devices. Crio’s unique color palette system keeps colors consistent across your site. Drag and drop colors in your palette to increase or decrease the usage of that color throughout your website. Use the advanced controls to create a custom Header, Footer, or Blog Page layout. Be Bold and stand above the rest with Prime by BoldGrid! -Version: 2.22.7 +Version: 2.22.8 Requires at least: 5.5 Tested up to: 6.7 Requires PHP: 5.6