From 86c11654c8858bfa044bb422fd2230b853638059 Mon Sep 17 00:00:00 2001 From: Jeffrey Pearce Date: Wed, 10 Jan 2024 23:55:04 -0500 Subject: [PATCH 1/4] Updates WooCommerce.com links to Woo.com Updates all instances of WooCommerce.com links in both the wp-admin and frontend. This includes the developer composer and package files, readme, and language files. --- CONTRIBUTING.md | 2 +- README.md | 18 +++++++++--------- README.txt | 6 +++--- composer.json | 2 +- inc/admin/class-storefront-admin.php | 8 ++++---- inc/storefront-template-functions.php | 4 ++-- ...orefront-woocommerce-template-functions.php | 6 +++--- languages/README.md | 2 +- languages/storefront.pot | 10 +++++----- package.json | 2 +- style.scss | 4 ++-- 11 files changed, 32 insertions(+), 32 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 910f9a5d3..8d94e0d8b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ When contributing please ensure you follow the guidelines below to help us keep GitHub is for _bug reports and contributions only_ - if you have a support question or a request for a customization this is not the right place to post it. Use [WooThemes Support](https://support.woothemes.com) for customer support, [WordPress.org](http://wordpress.org/support/themes/storefront) for community support, and for customizations we recommend one of the following services: -- [Woo Experts](https://woocommerce.com/experts/) +- [Woo Experts](https://woo.com/experts/) - [Codeable](https://codeable.io/) ## Storefront Status diff --git a/README.md b/README.md index 68a164a53..0571939da 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,19 @@

license - Designed for WooCommerce + Designed for WooCommerce WordPress.org downloads WordPress.org rating

-_Storefront_ is a robust and flexible [WordPress](https://wordpress.org) theme, designed and built by the team at [WooCommerce](https://woocommerce.com/) to help you make the most out of using the [WooCommerce](https://woocommerce.com) plugin to power your online store. It's available to download for free from the WordPress [theme repository](https://wordpress.org/themes/storefront/). +_Storefront_ is a robust and flexible [WordPress](https://wordpress.org) theme, designed and built by the team at [WooCommerce](https://woo.com/) to help you make the most out of using the [WooCommerce](https://woo.com) plugin to power your online store. It's available to download for free from the WordPress [theme repository](https://wordpress.org/themes/storefront/). It features deep integration with WooCommerce core plus several of the most popular extensions: -- [WooCommerce Bookings](https://woocommerce.com/products/woocommerce-bookings/) -- [WooCommerce Wishlists](https://woocommerce.com/products/woocommerce-wishlists/) -- [WooCommerce Brands](https://woocommerce.com/products/brands/) -- [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/) +- [WooCommerce Bookings](https://woo.com/products/woocommerce-bookings/) +- [WooCommerce Wishlists](https://woo.com/products/woocommerce-wishlists/) +- [WooCommerce Brands](https://woo.com/products/brands/) +- [WooCommerce Subscriptions](https://woo.com/products/woocommerce-subscriptions/) For developers, Storefront is the perfect starting point for your project. Its lean and extensible codebase will allow you to easily add functionality to your site via a child theme and/or custom plugin(s). @@ -26,11 +26,11 @@ Please read [this document](./STOREFRONT_STATUS.md) explaining the current statu ## Storefront extensions -Looking to take your storefront powered store to the next level? Be sure to checkout the premium [Storefront extensions](https://woocommerce.com/product-category/storefront-extensions/). +Looking to take your storefront powered store to the next level? Be sure to checkout the premium [Storefront extensions](https://woo.com/product-category/storefront-extensions/). ## Storefront Documentation -You can view detailed Storefront documentation on the [WooCommerce documentation website](https://docs.woocommerce.com/documentation/themes/storefront/). +You can view detailed Storefront documentation on the [WooCommerce documentation website](https://woo.com/documentation/themes/storefront/). ## Storefront in your language @@ -38,7 +38,7 @@ Storefront translations can be downloaded from [WordPress.org](https://translate ## Storefront help & support -WooCommerce customers can get support at the [WooCommerce support portal](https://woocommerce.com/contact-us/). Otherwise, you can try posting on the [WordPress support forums](https://wordpress.org/support/theme/storefront/). Please remember, GitHub is for bug reports and contributions, _not_ support. +WooCommerce customers can get support at the [WooCommerce support portal](https://woo.com/contact-us/). Otherwise, you can try posting on the [WordPress support forums](https://wordpress.org/support/theme/storefront/). Please remember, GitHub is for bug reports and contributions, _not_ support. ## Contributing to Storefront diff --git a/README.txt b/README.txt index 59619af3a..c1a0899cf 100644 --- a/README.txt +++ b/README.txt @@ -16,16 +16,16 @@ Storefront is the perfect theme for your next WooCommerce project. Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout & color options to personalize your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further! -For more information about Storefront please go to https://woocommerce.com/products/storefront/. +For more information about Storefront please go to https://woo.com/products/storefront/. -For even more customization, check out Storefront extensions https://woocommerce.com/product-category/storefront-extensions/ and Storefront child themes https://woocommerce.com/product-category/themes/storefront-child-theme-themes/. +For even more customization, check out Storefront extensions https://woo.com/product-category/storefront-extensions/ and Storefront child themes https://woo.com/product-category/themes/storefront-child-theme-themes/. == Installation == 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button. 2. Type in Storefront in the search form and press the 'Enter' key on your keyboard. 3. Click on the 'Activate' button to use your new theme right away. -4. Go to https://docs.woocommerce.com/documentation/themes/storefront/ guides on how to customize this theme. +4. Go to https://woo.com/documentation/themes/storefront/ guides on how to customize this theme. 5. Navigate to Appearance > Customize in your admin panel and customize to taste. == Copyright == diff --git a/composer.json b/composer.json index 73cad2bad..0e29da617 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "woocommerce/storefront", "description": "Storefront is a robust and flexible WordPress theme, designed and built by the team at WooCommerce to help you make the most out of using the WooCommerce plugin to power your online store. It's available to download for free from the WordPress theme repository.", - "homepage": "https://woocommerce.com/", + "homepage": "https://woo.com/", "type": "wordpress-theme", "license": "GPL-3.0+", "require": { diff --git a/inc/admin/class-storefront-admin.php b/inc/admin/class-storefront-admin.php index acd4d17ed..cbc91724f 100644 --- a/inc/admin/class-storefront-admin.php +++ b/inc/admin/class-storefront-admin.php @@ -72,8 +72,8 @@ public function storefront_welcome_screen() { Storefront @@ -130,7 +130,7 @@ public function storefront_welcome_screen() {

- +

@@ -150,7 +150,7 @@ public function storefront_welcome_screen() {

- +

diff --git a/inc/storefront-template-functions.php b/inc/storefront-template-functions.php index 889d81c2d..c42b888a3 100644 --- a/inc/storefront-template-functions.php +++ b/inc/storefront-template-functions.php @@ -139,9 +139,9 @@ function storefront_credit() { if ( apply_filters( 'storefront_credit_link', true ) ) { if ( storefront_is_woocommerce_activated() ) { - $links_output .= '' . esc_html__( 'Built with Storefront & WooCommerce', 'storefront' ) . '.'; + $links_output .= '' . esc_html__( 'Built with Storefront & WooCommerce', 'storefront' ) . '.'; } else { - $links_output .= '' . esc_html__( 'Built with Storefront', 'storefront' ) . '.'; + $links_output .= '' . esc_html__( 'Built with Storefront', 'storefront' ) . '.'; } } diff --git a/inc/woocommerce/storefront-woocommerce-template-functions.php b/inc/woocommerce/storefront-woocommerce-template-functions.php index 8630aa2c6..d034eea2b 100644 --- a/inc/woocommerce/storefront-woocommerce-template-functions.php +++ b/inc/woocommerce/storefront-woocommerce-template-functions.php @@ -858,7 +858,7 @@ function storefront_sticky_single_add_to_cart() { * Requires WooCommerce Brands. * * @since 2.3.0 - * @link https://woocommerce.com/products/brands/ + * @link https://woo.com/products/brands/ * @uses apply_filters() * @uses storefront_do_shortcode() * @uses wp_kses_post() @@ -912,7 +912,7 @@ function storefront_woocommerce_brands_homepage_section() { * Requires WooCommerce Brands. * * @since 2.3.0 - * @link https://woocommerce.com/products/brands/ + * @link https://woo.com/products/brands/ * @uses is_tax() * @uses wp_kses_post() * @uses get_brand_thumbnail_image() @@ -932,7 +932,7 @@ function storefront_woocommerce_brands_archive() { * Requires WooCommerce Brands. * * @since 2.3.0 - * @link https://woocommerce.com/products/brands/ + * @link https://woo.com/products/brands/ * @uses storefront_do_shortcode() * @uses wp_kses_post() * @return void diff --git a/languages/README.md b/languages/README.md index 7f32a82e0..2109aa2e8 100644 --- a/languages/README.md +++ b/languages/README.md @@ -4,4 +4,4 @@ Storefront will look in this directory for translations as a fallback. It is how Alternatively you can put translations in your child theme: `/wp-content/themes/your-child-theme/languages/it_IT.mo`. -You can read more about installing Storefront in your language [here](http://docs.woocommerce.com/document/installing-storefront-in-your-language/). \ No newline at end of file +You can read more about installing Storefront in your language [here](https://woo.com/document/installing-storefront-in-your-language/). \ No newline at end of file diff --git a/languages/storefront.pot b/languages/storefront.pot index 4591eb98f..fc098f978 100644 --- a/languages/storefront.pot +++ b/languages/storefront.pot @@ -1,14 +1,14 @@ -# msgid "" msgstr "" "Project-Id-Version: Storefront 4.5.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/storefront\n" -"POT-Creation-Date: 2023-09-26 20:27:34+00:00\n" +"POT-Creation-Date: 2024-01-11 04:47:05+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "X-Generator: node-wp-i18n 1.2.7\n" @@ -874,7 +874,7 @@ msgid "Storefront" msgstr "" #. Theme URI of the plugin/theme -msgid "https://woocommerce.com/products/storefront/" +msgid "https://woo.com/products/storefront/" msgstr "" #. Description of the plugin/theme @@ -894,7 +894,7 @@ msgid "Automattic" msgstr "" #. Author URI of the plugin/theme -msgid "https://woocommerce.com/" +msgid "https://woo.com/" msgstr "" #. Template Name of the plugin/theme diff --git a/package.json b/package.json index c74dc3e37..d59847e56 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "storefront", "title": "Storefront", "version": "4.5.3", - "homepage": "https://woocommerce.com/products/storefront/", + "homepage": "https://woo.com/products/storefront/", "repository": { "type": "git", "url": "https://github.com/woothemes/storefront.git" diff --git a/style.scss b/style.scss index 883148f47..896961fe9 100644 --- a/style.scss +++ b/style.scss @@ -1,8 +1,8 @@ /*! Theme Name: Storefront -Theme URI: https://woocommerce.com/products/storefront/ +Theme URI: https://woo.com/products/storefront/ Author: Automattic -Author URI: https://woocommerce.com/ +Author URI: https://woo.com/ Description: Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout & color options to personalise your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further! Version: 4.5.3 Tested up to: 6.3 From e3c3946f4a3bf626285e084a5f6224beb305f1c2 Mon Sep 17 00:00:00 2001 From: Jeffrey Pearce Date: Thu, 11 Jan 2024 18:24:39 -0500 Subject: [PATCH 2/4] Updates footer credit. Changes footer credit from: "Built with Storefront & WooCommerce." To "Built with WooCommerce." --- inc/storefront-template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/storefront-template-functions.php b/inc/storefront-template-functions.php index c42b888a3..4cf268aa5 100644 --- a/inc/storefront-template-functions.php +++ b/inc/storefront-template-functions.php @@ -139,7 +139,7 @@ function storefront_credit() { if ( apply_filters( 'storefront_credit_link', true ) ) { if ( storefront_is_woocommerce_activated() ) { - $links_output .= '' . esc_html__( 'Built with Storefront & WooCommerce', 'storefront' ) . '.'; + $links_output .= '' . esc_html__( 'Built with WooCommerce', 'storefront' ) . '.'; } else { $links_output .= '' . esc_html__( 'Built with Storefront', 'storefront' ) . '.'; } From b841787ecbd982b626accdfcf0f3ec9cb1081218 Mon Sep 17 00:00:00 2001 From: Jeffrey Pearce Date: Thu, 11 Jan 2024 18:27:11 -0500 Subject: [PATCH 3/4] Updates language file. Updates language file with new footer credit string. --- languages/storefront.pot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/storefront.pot b/languages/storefront.pot index fc098f978..6f459df9c 100644 --- a/languages/storefront.pot +++ b/languages/storefront.pot @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Storefront 4.5.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/storefront\n" -"POT-Creation-Date: 2024-01-11 04:47:05+00:00\n" +"POT-Creation-Date: 2024-01-11 23:26:43+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -678,7 +678,7 @@ msgid "WooCommerce - The Best eCommerce Platform for WordPress" msgstr "" #: inc/storefront-template-functions.php:142 -msgid "Built with Storefront & WooCommerce" +msgid "Built with WooCommerce" msgstr "" #: inc/storefront-template-functions.php:144 From be6292d0b7ad85def6ea5b0ebaf73c543bbdd203 Mon Sep 17 00:00:00 2001 From: "Daniel W. Robert" Date: Thu, 11 Jan 2024 21:30:24 -0500 Subject: [PATCH 4/4] Update E2E test for footer credit to reflect changes. --- e2e/specs/browser.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/specs/browser.test.js b/e2e/specs/browser.test.js index a3ee219a7..0dc3aa10a 100644 --- a/e2e/specs/browser.test.js +++ b/e2e/specs/browser.test.js @@ -3,7 +3,7 @@ describe( 'Storefront', () => { await page.goto( STORE_URL ); } ); - it( 'should have "built with Storefront" footer', async () => { - await expect( page ).toMatch( 'Built with Storefront & WooCommerce.' ); + it( 'should have "built with WooCommerce" footer', async () => { + await expect( page ).toMatch( 'Built with WooCommerce.' ); } ); } );