Skip to content

Commit

Permalink
v3.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kousikmukherjee committed Sep 5, 2024
1 parent 17a52ff commit 8a952e3
Show file tree
Hide file tree
Showing 12 changed files with 6,124 additions and 3,130 deletions.
15 changes: 0 additions & 15 deletions .distignore

This file was deleted.

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,13 +3,13 @@
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: 3.4.8
Version: 3.4.9
Author: WPFactory
Author URI: https://wpfactory.com
Text Domain: cost-of-goods-for-woocommerce
Domain Path: /langs
Copyright: © 2024 WPFactory
WC tested up to: 9.1
WC tested up to: 9.2
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
Expand Down
1 change: 1 addition & 0 deletions includes/class-alg-wc-cog-products-add-stock.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function add_product_add_stock_meta_box( $post_type, $post ) {
}
if (
$post &&
'product' === $post_type &&
! is_a( $post, '\Automattic\WooCommerce\Admin\Overrides\Order' ) &&
is_a( $product = wc_get_product( $post->ID ), 'WC_Product' ) &&
$this->is_add_stock_enabled() &&
Expand Down
2 changes: 1 addition & 1 deletion includes/class-alg-wc-cog.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class Alg_WC_Cost_of_Goods {
* @since 1.0.0
* @var string
*/
public $version = '3.4.8';
public $version = '3.4.9';

/**
* @since 1.0.0
Expand Down
Binary file modified langs/cost-of-goods-for-woocommerce-de_DE.mo
Binary file not shown.
Loading

0 comments on commit 8a952e3

Please sign in to comment.