You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.txt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
*** WooCommerce API Manager PHP Library for Plugins and Themes Changelog ***
2
2
3
+
2021.07.09 - version 2.8.1
4
+
* Fix: Warning: Trying to access array offset on value of type bool. PHP warning fixed by checking if the API Key string is not empty before using the string to access the api_key element in an array.
5
+
3
6
2020.12.17 - version 2.8
4
7
* New: Updated so both Parent and Child themes can have activated API Keys at the same time, and can do a theme update at the same time, provided each have had their API Keys activated and remain activated. See online doc for correct setup.
5
8
* New: Auto-Updates now available for Plugins, and Parent and Child Themes, as was introduced in WP 5.5.
//$wcam_lib = new WC_AM_Client_2_8( __FILE__, 234, '1.0', 'theme', 'http://wc/', 'WooCommerce API Manager PHP Library for Plugins and Themes' );
68
+
// Theme example.
69
+
//$wcam_lib = new WC_AM_Client_2_8_1( __FILE__, 234, '1.0', 'theme', 'http://wc/', 'WooCommerce API Manager PHP Library for Plugins and Themes' );
70
70
71
71
// Second argument must be the Product ID number if used. If left empty the client will need to enter it in the activation form.
72
72
// Plugin example. The $wcam_lib is optional, and must have a unique name if used to check if the API Key has been activated before allowing use of the plugin/theme.
73
-
$wcam_lib = newWC_AM_Client_2_8( __FILE__, 138828, '2.7.3', 'plugin', 'http://wc/', 'WooCommerce API Manager PHP Library for Plugins and Themes' );
73
+
//$wcam_lib = new WC_AM_Client_2_8_1( __FILE__, 138828, '2.7.3', 'plugin', 'http://wc/', 'WooCommerce API Manager PHP Library for Plugins and Themes' );
74
+
75
+
//$wcam_lib = new WC_AM_Client_2_8_1( __FILE__, 32960, '1.2', 'plugin', 'http://wc/', 'WooCommerce API Manager PHP Library for Plugins and Themes' );
76
+
$wcam_lib = newWC_AM_Client_2_8_1( __FILE__, '', '1.2', 'plugin', 'http://wc/', 'WooCommerce API Manager PHP Library for Plugins and Themes' );
0 commit comments