WooCommerce Stock Manager - Version 2.8.2.1

Version Description

Check if current page is of Stock Manager, POT file

Download this release

Release Info

Developer storeapps
Plugin Icon 128x128 WooCommerce Stock Manager
Version 2.8.2.1
Comparing to
See all releases

Code changes from version 2.8.2 to 2.8.2.1

admin/class-stock-manager-admin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Main class for Stock Manager.
4
  *
5
  * @package woocommerce-stock-manager/admin/
6
- * @version 2.8.2
7
  */
8
 
9
  if ( ! defined( 'ABSPATH' ) ) {
@@ -341,6 +341,8 @@ class Stock_Manager_Admin {
341
  if ( ! class_exists( 'SA_In_App_Offers' ) ) {
342
  include_once STOCKDIR . 'sa-includes/class-sa-in-app-offers.php';
343
 
 
 
344
  $args = array(
345
  'file' => WSM_PLUGIN_FILE,
346
  'prefix' => 'wsm',
@@ -348,7 +350,7 @@ class Stock_Manager_Admin {
348
  'campaign' => 'sa_halloween_2021',
349
  'start' => '2021-10-29 06:30:00',
350
  'end' => '2021-11-02 06:30:00',
351
- 'is_plugin_page' => true,
352
  );
353
 
354
  SA_In_App_Offers::get_instance( $args );
3
  * Main class for Stock Manager.
4
  *
5
  * @package woocommerce-stock-manager/admin/
6
+ * @version 2.8.2.1
7
  */
8
 
9
  if ( ! defined( 'ABSPATH' ) ) {
341
  if ( ! class_exists( 'SA_In_App_Offers' ) ) {
342
  include_once STOCKDIR . 'sa-includes/class-sa-in-app-offers.php';
343
 
344
+ $is_wsm_admin = $this->is_wsm_admin_page();
345
+
346
  $args = array(
347
  'file' => WSM_PLUGIN_FILE,
348
  'prefix' => 'wsm',
350
  'campaign' => 'sa_halloween_2021',
351
  'start' => '2021-10-29 06:30:00',
352
  'end' => '2021-11-02 06:30:00',
353
+ 'is_plugin_page' => $is_wsm_admin ? true : false,
354
  );
355
 
356
  SA_In_App_Offers::get_instance( $args );
languages/woocommerce-stock-manager.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Stock Manager for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Stock Manager for WooCommerce 2.8.2\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: 2021-10-22T17:53:29+05:30\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: woocommerce-stock-manager\n"
@@ -288,7 +288,7 @@ msgid "StoreApps Plugins"
288
  msgstr ""
289
 
290
  #. translators: %1$s & %2$s: Opening & closing strong tag. %3$s: link to Stock Manager for WooCommerce on WordPress.org
291
- #: admin/class-stock-manager-admin.php:474
292
  msgid "If you are liking %1$sStock Manager for WooCommerce%2$s, please rate us %3$s. A huge thanks from StoreApps in advance!"
293
  msgstr ""
294
 
2
  # This file is distributed under the same license as the Stock Manager for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Stock Manager for WooCommerce 2.8.2.1\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: 2021-10-25T17:44:47+05:30\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: woocommerce-stock-manager\n"
288
  msgstr ""
289
 
290
  #. translators: %1$s & %2$s: Opening & closing strong tag. %3$s: link to Stock Manager for WooCommerce on WordPress.org
291
+ #: admin/class-stock-manager-admin.php:476
292
  msgid "If you are liking %1$sStock Manager for WooCommerce%2$s, please rate us %3$s. A huge thanks from StoreApps in advance!"
293
  msgstr ""
294
 
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: stock manager, woocommerce, stock management, inventory, products
7
  Requires at least: 5.0.0
8
  Tested up to: 5.8.1
9
  Requires PHP: 5.6
10
- Stable tag: 2.8.2
11
  License: GPLv3
12
 
13
  == Description ==
@@ -152,6 +152,10 @@ Be sure, that you have active stock manager.
152
 
153
  == Changelog ==
154
 
 
 
 
 
155
  = 2.8.2 (22.10.2021) =
156
  * Update: Product type column UX on Stock log page
157
  * Update: POT file
@@ -277,6 +281,9 @@ For the changelog of earlier versions, please refer to the separate [changelog.t
277
 
278
  == Upgrade Notice ==
279
 
 
 
 
280
  = 2.8.2 =
281
  Product type column UX on Stock log page, POT file
282
 
7
  Requires at least: 5.0.0
8
  Tested up to: 5.8.1
9
  Requires PHP: 5.6
10
+ Stable tag: 2.8.2.1
11
  License: GPLv3
12
 
13
  == Description ==
152
 
153
  == Changelog ==
154
 
155
+ = 2.8.2.1 (25.10.2021) =
156
+ * Fix: Check if current page is of Stock Manager
157
+ * Update: POT file
158
+
159
  = 2.8.2 (22.10.2021) =
160
  * Update: Product type column UX on Stock log page
161
  * Update: POT file
281
 
282
  == Upgrade Notice ==
283
 
284
+ = 2.8.2.1 =
285
+ Check if current page is of Stock Manager, POT file
286
+
287
  = 2.8.2 =
288
  Product type column UX on Stock log page, POT file
289
 
woocommerce-stock-manager.php CHANGED
@@ -3,7 +3,7 @@
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.8.2
7
  * Author: StoreApps
8
  * Author URI: https://www.storeapps.org/
9
  * Developer: StoreApps
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.8.2.1
7
  * Author: StoreApps
8
  * Author URI: https://www.storeapps.org/
9
  * Developer: StoreApps