Changeset 1830445
- Timestamp:
- 02/27/2018 09:59:05 PM (8 years ago)
- Location:
- woo-default-attributes
- Files:
-
- 4 edited
- 3 copied
-
tags/1.0.3 (copied) (copied from woo-default-attributes/trunk)
-
tags/1.0.3/README.txt (copied) (copied from woo-default-attributes/trunk/README.txt) (3 diffs)
-
tags/1.0.3/admin/class-wdat-admin.php (modified) (1 diff)
-
tags/1.0.3/woo-default-attributes.php (copied) (copied from woo-default-attributes/trunk/woo-default-attributes.php) (2 diffs)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/admin/class-wdat-admin.php (modified) (1 diff)
-
trunk/woo-default-attributes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-default-attributes/tags/1.0.3/README.txt
r1817103 r1830445 4 4 Requires at least: 4.4 5 5 Tested up to: 4.9.4 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 Requires at least WooCommerce: 2.5 8 Tested up to WooCommerce: 3.3. 18 Tested up to WooCommerce: 3.3.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 19 19 to add manually the attributes, and remembering the same order for each new product. 20 20 21 **Tested with WooCommerce version 3.3. 1**21 **Tested with WooCommerce version 3.3.3** 22 22 23 23 == Installation == … … 48 48 == Changelog == 49 49 50 = 1.0.3 = 51 * Fix a 500 server error on ajax request. Thanks @aminta, @walpap and @zluke for the bug report 52 * Do no init the plugin if WooCommerce is not enabled. Thanks @adryyy for the pull request 53 50 54 = 1.0.2 = 51 55 * Tested plugin with WordPress 4.9.4 and WooCommerce 3.3.1 -
woo-default-attributes/tags/1.0.3/admin/class-wdat-admin.php
r1812170 r1830445 94 94 public function get_post_metadata( $value, $object_id, $meta_key ) { 95 95 96 if ( '_product_attributes' == $meta_key && is_admin() ) {96 if ( '_product_attributes' == $meta_key && is_admin() && function_exists('get_current_screen') ) { 97 97 98 98 $screen = get_current_screen(); -
woo-default-attributes/tags/1.0.3/woo-default-attributes.php
r1817098 r1830445 4 4 * Description: Define default attributes to be automatically added in WooCommerce new product page. 5 5 * Author: Kuuak 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Author URI: https://profiles.wordpress.org/kuuak 8 8 * License: GPL-2.0+ … … 135 135 } 136 136 } 137 137 if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { 138 138 new Woo_Default_Attributes(); 139 } -
woo-default-attributes/trunk/README.txt
r1817103 r1830445 4 4 Requires at least: 4.4 5 5 Tested up to: 4.9.4 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 Requires at least WooCommerce: 2.5 8 Tested up to WooCommerce: 3.3. 18 Tested up to WooCommerce: 3.3.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 19 19 to add manually the attributes, and remembering the same order for each new product. 20 20 21 **Tested with WooCommerce version 3.3. 1**21 **Tested with WooCommerce version 3.3.3** 22 22 23 23 == Installation == … … 48 48 == Changelog == 49 49 50 = 1.0.3 = 51 * Fix a 500 server error on ajax request. Thanks @aminta, @walpap and @zluke for the bug report 52 * Do no init the plugin if WooCommerce is not enabled. Thanks @adryyy for the pull request 53 50 54 = 1.0.2 = 51 55 * Tested plugin with WordPress 4.9.4 and WooCommerce 3.3.1 -
woo-default-attributes/trunk/admin/class-wdat-admin.php
r1812170 r1830445 94 94 public function get_post_metadata( $value, $object_id, $meta_key ) { 95 95 96 if ( '_product_attributes' == $meta_key && is_admin() ) {96 if ( '_product_attributes' == $meta_key && is_admin() && function_exists('get_current_screen') ) { 97 97 98 98 $screen = get_current_screen(); -
woo-default-attributes/trunk/woo-default-attributes.php
r1817098 r1830445 4 4 * Description: Define default attributes to be automatically added in WooCommerce new product page. 5 5 * Author: Kuuak 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Author URI: https://profiles.wordpress.org/kuuak 8 8 * License: GPL-2.0+ … … 135 135 } 136 136 } 137 137 if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { 138 138 new Woo_Default_Attributes(); 139 }
Note: See TracChangeset
for help on using the changeset viewer.