Skip to content

Commit

Permalink
v2.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-sg-pacheco committed Apr 25, 2023
1 parent 7dc2333 commit 12219af
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cost-of-goods-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Cost of Goods for WooCommerce
Plugin URI: https://wpfactory.com/item/cost-of-goods-for-woocommerce/
Description: Save product purchase costs (cost of goods) in WooCommerce. Beautifully.
Version: 2.9.6
Version: 2.9.7
Author: WPFactory
Author URI: https://wpfactory.com
Text Domain: cost-of-goods-for-woocommerce
Expand Down Expand Up @@ -72,7 +72,7 @@ final class Alg_WC_Cost_of_Goods {
* @var string
* @since 1.0.0
*/
public $version = '2.9.6';
public $version = '2.9.7';

/**
* @var Alg_WC_Cost_of_Goods The single instance of the class
Expand Down
6 changes: 3 additions & 3 deletions includes/tools/class-alg-wc-cog-bulk-edit-tool.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Cost of Goods for WooCommerce - Bulk Edit Tool Class.
*
* @version 2.9.5
* @version 2.9.7
* @since 1.2.0
* @author WPFactory
*/
Expand Down Expand Up @@ -152,7 +152,7 @@ function init_bkg_process() {
/**
* Update costs on Ajax for bulk edit tools.
*
* @version 2.9.5
* @version 2.9.7
* @since 2.5.1
*/
function ajax_update_product_data() {
Expand Down Expand Up @@ -285,7 +285,7 @@ function ajax_update_product_data() {
'bkg_process_obj' => $this->update_price_bkg_process,
'success_msg' => __( 'Successfully updated product prices.', 'cost-of-goods-for-woocommerce' ),
'bkg_process_progress_msg' => $bkg_process_progress_msg,
'no_bkg_process_function' => 'update_product_cost_by_percentage',
'no_bkg_process_function' => 'update_product_price_by_profit',
) ) );
}
}
Expand Down
4 changes: 2 additions & 2 deletions langs/cost-of-goods-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: cost-of-goods-for-woocommerce 2.9.6\n"
"Project-Id-Version: cost-of-goods-for-woocommerce 2.9.7\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-04-18T05:33:59+02:00\n"
"POT-Creation-Date: 2023-04-25T22:31:02+02:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Domain: cost-of-goods-for-woocommerce\n"
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wpcodefactory, karzin, kerbhavik, jaedm97, algoritmika, anbinder
Tags: woocommerce, cost, cost of goods, cog, cost of goods sold, cogs, woo commerce
Requires at least: 4.4
Tested up to: 6.2
Stable tag: 2.9.6
Stable tag: 2.9.7
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -98,6 +98,9 @@ And then you can follow these steps:

== Changelog ==

= 2.9.7 - 25/04/2023 =
* Fix - Bulk edit prices - Calculation is incorrect.

= 2.9.6 - 18/04/2023 =
* Fix - `class-alg-wc-cog-products.php:456` - Call to a member function is_type() on bool.
* WC tested up to: 7.6.
Expand Down

0 comments on commit 12219af

Please sign in to comment.