Version Description
WooCommerce 7.0.1 compatible, WordPress 6.1.0 compatible, Fixes related to PHP Fatal Error: Call to undefined function wp_set_script_translations() along with other important fixes and updates. Recommended upgrade.
Download this release
Release Info
Developer | storeapps |
Plugin | WooCommerce Stock Manager |
Version | 2.10.0 |
Comparing to | |
See all releases |
Code changes from version 2.9.0 to 2.10.0
admin/class-stock-manager-admin.php
CHANGED
@@ -165,7 +165,9 @@ class Stock_Manager_Admin {
|
|
165 |
)
|
166 |
);
|
167 |
|
168 |
-
|
|
|
|
|
169 |
}
|
170 |
|
171 |
// Klawoo subscribe.
|
165 |
)
|
166 |
);
|
167 |
|
168 |
+
if ( function_exists( 'wp_set_script_translations' ) ) {
|
169 |
+
wp_set_script_translations( 'woocommerce-stock-manager-admin-script-react', 'stock-manager', STOCKDIR . 'languages' );
|
170 |
+
}
|
171 |
}
|
172 |
|
173 |
// Klawoo subscribe.
|
languages/woocommerce-stock-manager.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the GNU General Public License v3.0.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Stock Manager for WooCommerce 2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-stock-manager\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: woocommerce-stock-manager\n"
|
@@ -63,36 +63,36 @@ msgstr ""
|
|
63 |
msgid "Yes"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: admin/class-stock-manager-admin.php:
|
67 |
-
#: admin/class-stock-manager-admin.php:
|
68 |
msgid "Stock Manager"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: admin/class-stock-manager-admin.php:
|
72 |
-
#: admin/class-stock-manager-admin.php:
|
73 |
msgid "Import/Export"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: admin/class-stock-manager-admin.php:
|
77 |
-
#: admin/class-stock-manager-admin.php:
|
78 |
msgid "Stock log"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/class-stock-manager-admin.php:
|
82 |
msgid "Stock Manager Setting"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: admin/class-stock-manager-admin.php:
|
86 |
msgid "Setting"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: admin/class-stock-manager-admin.php:
|
90 |
-
#: admin/class-stock-manager-admin.php:
|
91 |
msgid "StoreApps Plugins"
|
92 |
msgstr ""
|
93 |
|
94 |
#. translators: %1$s & %2$s: Opening & closing strong tag. %3$s: link to Stock Manager for WooCommerce on WordPress.org
|
95 |
-
#: admin/class-stock-manager-admin.php:
|
96 |
msgid "If you are liking %1$sStock Manager for WooCommerce%2$s, please rate us %3$s. A huge thanks from StoreApps in advance!"
|
97 |
msgstr ""
|
98 |
|
2 |
# This file is distributed under the GNU General Public License v3.0.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Stock Manager for WooCommerce 2.10.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-stock-manager\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-11-10T18:39:02+05:30\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: woocommerce-stock-manager\n"
|
63 |
msgid "Yes"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: admin/class-stock-manager-admin.php:226
|
67 |
+
#: admin/class-stock-manager-admin.php:227
|
68 |
msgid "Stock Manager"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: admin/class-stock-manager-admin.php:250
|
72 |
+
#: admin/class-stock-manager-admin.php:251
|
73 |
msgid "Import/Export"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: admin/class-stock-manager-admin.php:258
|
77 |
+
#: admin/class-stock-manager-admin.php:259
|
78 |
msgid "Stock log"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: admin/class-stock-manager-admin.php:266
|
82 |
msgid "Stock Manager Setting"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: admin/class-stock-manager-admin.php:267
|
86 |
msgid "Setting"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: admin/class-stock-manager-admin.php:274
|
90 |
+
#: admin/class-stock-manager-admin.php:275
|
91 |
msgid "StoreApps Plugins"
|
92 |
msgstr ""
|
93 |
|
94 |
#. translators: %1$s & %2$s: Opening & closing strong tag. %3$s: link to Stock Manager for WooCommerce on WordPress.org
|
95 |
+
#: admin/class-stock-manager-admin.php:424
|
96 |
msgid "If you are liking %1$sStock Manager for WooCommerce%2$s, please rate us %3$s. A huge thanks from StoreApps in advance!"
|
97 |
msgstr ""
|
98 |
|
readme.txt
CHANGED
@@ -5,9 +5,9 @@ Author URI: https://www.storeapps.org/
|
|
5 |
Plugin URI: https://www.storeapps.org/woocommerce-plugins/?utm_source=wprepo&utm_medium=web&utm_campaign=wsm_readme
|
6 |
Tags: woocommerce stock management, woocommerce stock manager, woocommerce product stock manager, woocommerce stock management free, woocommerce inventory management
|
7 |
Requires at least: 5.0.0
|
8 |
-
Tested up to: 6.0
|
9 |
Requires PHP: 5.6
|
10 |
-
Stable tag: 2.
|
11 |
License: GPLv3
|
12 |
|
13 |
Best WooCommerce stock management plugin to manage and edit product stock and their variables from a single dashboard. Stock log, import/export, filters and more...
|
@@ -150,6 +150,12 @@ Be sure, that you have active stock manager.
|
|
150 |
4. Product stock as on date
|
151 |
|
152 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
= 2.9.0 (20.10.2022) =
|
154 |
* New: WooCommerce 7.0.0 compatible
|
155 |
* New: WordPress 6.0.3 compatible
|
@@ -288,6 +294,9 @@ For the changelog of earlier versions, please refer to the separate [changelog.t
|
|
288 |
|
289 |
== Upgrade Notice ==
|
290 |
|
|
|
|
|
|
|
291 |
= 2.9.0 =
|
292 |
WooCommerce 7.0.0 compatible, WordPress 6.0.3 compatible, Readme file changes, POT file
|
293 |
|
5 |
Plugin URI: https://www.storeapps.org/woocommerce-plugins/?utm_source=wprepo&utm_medium=web&utm_campaign=wsm_readme
|
6 |
Tags: woocommerce stock management, woocommerce stock manager, woocommerce product stock manager, woocommerce stock management free, woocommerce inventory management
|
7 |
Requires at least: 5.0.0
|
8 |
+
Tested up to: 6.1.0
|
9 |
Requires PHP: 5.6
|
10 |
+
Stable tag: 2.10.0
|
11 |
License: GPLv3
|
12 |
|
13 |
Best WooCommerce stock management plugin to manage and edit product stock and their variables from a single dashboard. Stock log, import/export, filters and more...
|
150 |
4. Product stock as on date
|
151 |
|
152 |
== Changelog ==
|
153 |
+
= 2.10.0 (10.11.2022) =
|
154 |
+
* New: WooCommerce 7.0.1 compatible
|
155 |
+
* New: WordPress 6.1.0 compatible
|
156 |
+
* Fix: PHP Fatal Error: Call to undefined function wp_set_script_translations()
|
157 |
+
* Update: POT file
|
158 |
+
|
159 |
= 2.9.0 (20.10.2022) =
|
160 |
* New: WooCommerce 7.0.0 compatible
|
161 |
* New: WordPress 6.0.3 compatible
|
294 |
|
295 |
== Upgrade Notice ==
|
296 |
|
297 |
+
= 2.10.0 =
|
298 |
+
WooCommerce 7.0.1 compatible, WordPress 6.1.0 compatible, Fixes related to PHP Fatal Error: Call to undefined function wp_set_script_translations() along with other important fixes and updates. Recommended upgrade.
|
299 |
+
|
300 |
= 2.9.0 =
|
301 |
WooCommerce 7.0.0 compatible, WordPress 6.0.3 compatible, Readme file changes, POT file
|
302 |
|
sa-includes/class-sa-wsm-in-app-offer.php
CHANGED
@@ -222,7 +222,7 @@ class SA_WSM_In_App_Offer {
|
|
222 |
<div class="sa_offer">
|
223 |
<div class="sa_offer_content">
|
224 |
<a href="https://www.storeapps.org/woocommerce-plugins/?utm_source=in_app&utm_medium=<?php echo esc_attr( $this->prefix ); ?>_banner&utm_campaign=<?php echo esc_attr( $this->campaign ); ?>" target="_blank">
|
225 |
-
<img src="<?php echo esc_url( plugins_url( 'sa-includes/images/
|
226 |
</a>
|
227 |
<div class="sa_dismiss"> <!-- Do not change this class -->
|
228 |
<a href="javascript:void(0)" style="color: black; text-decoration: none;" title="<?php echo esc_attr__( 'Dismiss', 'woocommerce-stock-manager' ); ?>"><?php echo esc_html__( 'Hide this', 'woocommerce-stock-manager' ); ?></a>
|
222 |
<div class="sa_offer">
|
223 |
<div class="sa_offer_content">
|
224 |
<a href="https://www.storeapps.org/woocommerce-plugins/?utm_source=in_app&utm_medium=<?php echo esc_attr( $this->prefix ); ?>_banner&utm_campaign=<?php echo esc_attr( $this->campaign ); ?>" target="_blank">
|
225 |
+
<img src="<?php echo esc_url( plugins_url( 'sa-includes/images/bfcm-2022.png', $this->plugin_file ) ); ?>" />
|
226 |
</a>
|
227 |
<div class="sa_dismiss"> <!-- Do not change this class -->
|
228 |
<a href="javascript:void(0)" style="color: black; text-decoration: none;" title="<?php echo esc_attr__( 'Dismiss', 'woocommerce-stock-manager' ); ?>"><?php echo esc_html__( 'Hide this', 'woocommerce-stock-manager' ); ?></a>
|
sa-includes/images/bfcm-2022.png
ADDED
Binary file
|
sa-includes/images/halloween-2022.png
DELETED
Binary file
|
woocommerce-stock-manager.php
CHANGED
@@ -3,16 +3,16 @@
|
|
3 |
* Plugin Name: Stock Manager for WooCommerce
|
4 |
* Plugin URI: https://www.storeapps.org/woocommerce-plugins/
|
5 |
* Description: Manage product's stock and price in your WooCommerce store. Export/Import inventory, track history, sort and more...
|
6 |
-
* Version: 2.
|
7 |
* Author: StoreApps
|
8 |
* Author URI: https://www.storeapps.org/
|
9 |
* Developer: StoreApps
|
10 |
* Developer URI: https://www.storeapps.org/
|
11 |
* Requires at least: 5.0.0
|
12 |
-
* Tested up to: 6.0
|
13 |
* Requires PHP: 5.6+
|
14 |
* WC requires at least: 3.5.0
|
15 |
-
* WC tested up to: 7.0.
|
16 |
* Text Domain: woocommerce-stock-manager
|
17 |
* Domain Path: /languages/
|
18 |
* License: GNU General Public License v3.0
|
@@ -419,10 +419,10 @@ function wsm_may_be_show_sa_in_app_offer() {
|
|
419 |
$args = array(
|
420 |
'file' => STOCKDIR . 'sa-includes/',
|
421 |
'prefix' => 'wsm', // prefix/slug of your plugin.
|
422 |
-
'option_name' => '
|
423 |
-
'campaign' => '
|
424 |
-
'start' => '2022-
|
425 |
-
'end' => '2022-
|
426 |
'is_plugin_page' => $is_wsm_admin ? true : false, // page where you want to show offer, do not send this if no plugin page is there and want to show offer on Products page.
|
427 |
);
|
428 |
$sa_offer = SA_WSM_In_App_Offer::get_instance( $args );
|
3 |
* Plugin Name: Stock Manager for WooCommerce
|
4 |
* Plugin URI: https://www.storeapps.org/woocommerce-plugins/
|
5 |
* Description: Manage product's stock and price in your WooCommerce store. Export/Import inventory, track history, sort and more...
|
6 |
+
* Version: 2.10.0
|
7 |
* Author: StoreApps
|
8 |
* Author URI: https://www.storeapps.org/
|
9 |
* Developer: StoreApps
|
10 |
* Developer URI: https://www.storeapps.org/
|
11 |
* Requires at least: 5.0.0
|
12 |
+
* Tested up to: 6.1.0
|
13 |
* Requires PHP: 5.6+
|
14 |
* WC requires at least: 3.5.0
|
15 |
+
* WC tested up to: 7.0.1
|
16 |
* Text Domain: woocommerce-stock-manager
|
17 |
* Domain Path: /languages/
|
18 |
* License: GNU General Public License v3.0
|
419 |
$args = array(
|
420 |
'file' => STOCKDIR . 'sa-includes/',
|
421 |
'prefix' => 'wsm', // prefix/slug of your plugin.
|
422 |
+
'option_name' => 'sa_wsm_offer_bfcm_2022',
|
423 |
+
'campaign' => 'sa_bfcm_2022',
|
424 |
+
'start' => '2022-11-22 06:31:00',
|
425 |
+
'end' => '2022-12-01 07:30:00',
|
426 |
'is_plugin_page' => $is_wsm_admin ? true : false, // page where you want to show offer, do not send this if no plugin page is there and want to show offer on Products page.
|
427 |
);
|
428 |
$sa_offer = SA_WSM_In_App_Offer::get_instance( $args );
|