Skip to content

Commit

Permalink
Merge pull request #4 from kestrelwp/release/1.2.4
Browse files Browse the repository at this point in the history
1.2.4 Release
  • Loading branch information
maxrice authored Mar 28, 2024
2 parents 1ba6bad + 8631c10 commit aee18f3
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 37 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.gitignore export-ignore
/package*.json export-ignore
/gulpfile.js export-ignore
/composer*.json export-ignore
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "barn2/woo-custom-add-to-cart-button",
"name": "kestrelwp/woo-custom-add-to-cart-button",
"description": "WooCommerce Custom Add to Cart Button plugin for WordPress.",
"type": "wordpress-plugin",
"license": "GPL-3.0",
"authors": [
{
"name": "Barn2 Plugins",
"email": "support@barn2.co.uk"
"name": "Kestrel",
"email": "support@kestrelwp.com"
}
],
"minimum-stability": "stable",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woo-custom-add-to-cart-button",
"version": "1.2.3",
"version": "1.2.4",
"description": "WooCommerce Custom Add to Cart Button plugin for WordPress.",
"main": "gulpfile.js",
"directories": {
Expand All @@ -11,14 +11,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/barn2media/woo-custom-add-to-cart-button.git"
"url": "git+https://github.com/kestrelwp/woo-custom-add-to-cart-button.git"
},
"author": "Barn2 Plugins",
"author": "Kestrel",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/barn2media/woo-custom-add-to-cart-button/issues"
"url": "https://github.com/kestrelwp/woo-custom-add-to-cart-button/issues"
},
"homepage": "https://github.com/barn2media/woo-custom-add-to-cart-button#readme",
"homepage": "https://github.com/kestrelwp/woo-custom-add-to-cart-button#readme",
"devDependencies": {
"gulp": "^4.0.2"
}
Expand Down
23 changes: 15 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
=== WooCommerce Custom Add To Cart Button ===
Contributors: andykeith, barn2media
Contributors: kestrelwp
Tags: woocommerce, cart, button
Donate link: https://barn2.com
Donate link: https://kestrelwp.com
Requires at least: 6.0
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.2.3
Stable tag: 1.2.4
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl.html

Expand All @@ -32,11 +32,12 @@ WooCommerce Custom Add to Cart Button is fully accessible. If you choose to disp

Options are set in the Customizer. Once installed, go to Appearance -> Customize -> WooCommerce -> Add to Cart Buttons and choose your settings.

WooCommerce Custom Add to Cart Button is fully compatible with other Barn2 plugins, including:
WooCommerce Custom Add to Cart Button is fully compatible with other Kestrel plugins, including:

* [WooCommerce Product Table](https://barn2.com/wordpress-plugins/woocommerce-product-table/?utm=content&utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - List products in a quick one-page order form.
* [WooCommerce Quick View Pro](https://barn2.com/wordpress-plugins/woocommerce-quick-view-pro/?utm=content&utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - Speed up shopping by adding quick view lightboxes.
* [WooCommerce Bulk Variations](https://barn2.com/wordpress-plugins/woocommerce-bulk-variations/?utm=content&utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - Let customers buy multiple variations in a single click.
* [Express Shop Page]](https://kestrelwp.com/product/express-shop-page-woocommerce/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - Select variations and quantities without leaving the shop page.
* [Discontinued Products](https://kestrelwp.com/product/discontinued-products-woocommerce/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - Set WooCommerce products as “discontinued” without removing them from your store.
* [Variation Prices](https://kestrelwp.com/product/variation-prices-woocommerce/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - Improve the display of variation prices in your WooCommerce store.
* [Product Sample](https://kestrelwp.com/product/product-sample-woocommerce/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) - Let customers “try before they buy” with free or paid product samples.

You can view the full [plugin documentation](https://barn2.com/kb-categories/custom-add-to-cart-kb/?utm=content&utm_source=wporg&utm_medium=freeplugin&utm_campaign=freepluginwporg&utm_content=atoc-free) in our Knowledge Base.

Expand Down Expand Up @@ -72,6 +73,12 @@ Please visit our [Knowledge Base](https://barn2.com/kb-categories/custom-add-to-

== Changelog ==

= 1.2.4 =
Release date 27 March 2024

* Misc: Update author to Kestrel
* Dev: Tested up to WordPress 6.5 and WooCommerce 8.7

= 1.2.3 =
Release date 14 November 2023

Expand Down
4 changes: 2 additions & 2 deletions src/Add_To_Cart_Replacer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* Replaces the Add to Cart button text in WooCommerce.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*/
class Add_To_Cart_Replacer implements Registerable {

Expand Down
4 changes: 2 additions & 2 deletions src/Add_To_Cart_Styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* Registers our stylesheet and adds any CSS classes to the body and cart buttons.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*/
class Add_To_Cart_Styles implements Registerable {

Expand Down
4 changes: 2 additions & 2 deletions src/Admin/Add_To_Cart_Customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Registers the Customizer settings.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*/
class Add_To_Cart_Customizer implements Registerable {

Expand Down
4 changes: 2 additions & 2 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* The main plugin class.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*/
class Plugin extends Simple_Plugin implements Registerable, Translatable, Service_Provider {

Expand Down
4 changes: 2 additions & 2 deletions src/Plugin_Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* Factory to create/return the shared plugin instance.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*/
class Plugin_Factory {

Expand Down
4 changes: 2 additions & 2 deletions src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* Utility functions & constants.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*/
class Util {

Expand Down
21 changes: 12 additions & 9 deletions woo-custom-add-to-cart-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
* The main plugin file for WooCommerce Custom Add To Cart Button. Included during the bootstrap process if the plugin is active.
*
* @package Barn2\woo-custom-add-to-cart-button
* @author Barn2 Plugins <support@barn2.co.uk>
* @author Kestrel <support@kestrelwp.com>
* @license GPL-3.0
* @copyright Barn2 Media Ltd
* @copyright Kestrel
*
* @wordpress-plugin
* Plugin Name: WooCommerce Custom Add To Cart Button
* Plugin URI: https://barn2.co.uk/wordpress-plugins/woo-custom-add-to-cart-button/
* Plugin URI: https://kestrelwp.com/product/custom-add-to-cart-button-for-woocommerce/
* Description: Customize the Add to Cart buttons in WooCommerce by changing the text or adding a cart icon.
* Version: 1.2.3
* Author: Barn2 Plugins
* Author URI: https://barn2.co.uk
* Version: 1.2.4
* Author: Kestrel
* Author URI: https://kestrelwp.com
* Text Domain: woo-custom-add-to-cart-button
* Domain Path: /languages
* Requires at least: 6.0
* Tested up to: 6.5
* Requires PHP: 7.4
*
* WC requires at least: 6.5
* WC tested up to: 8.2.2
* WC tested up to: 8.7
*
* Copyright: Barn2 Media Ltd
* Copyright: Kestrel
* License: GNU General Public License v3.0
* License URI: https://www.gnu.org/licenses/gpl.html
*/
Expand All @@ -31,7 +34,7 @@
exit;
}

const PLUGIN_VERSION = '1.2.3';
const PLUGIN_VERSION = '1.2.4';
const PLUGIN_FILE = __FILE__;

// Autoloader.
Expand Down

0 comments on commit aee18f3

Please sign in to comment.