Changeset 2142417
- Timestamp:
- 08/20/2019 08:56:31 AM (7 years ago)
- Location:
- c4d-woo-variation-swatches/trunk
- Files:
-
- 2 added
- 2 edited
-
c4d-woo-variation-swatches.php (modified) (2 diffs)
-
includes/class-tgm-plugin-activation.php (added)
-
includes/required.php (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
c4d-woo-variation-swatches/trunk/c4d-woo-variation-swatches.php
r2140888 r2142417 8 8 Text Domain: c4d-woo-vs 9 9 Domain Path: /languages 10 Version: 1.3.4 510 Version: 1.3.46 11 11 */ 12 if ( ! defined( 'ABSPATH' ) ) { 13 exit; 14 } 15 16 if ( !in_array( 17 'woocommerce/woocommerce.php', 18 get_option( 'active_plugins' ) 19 ) ) return; 12 20 13 21 define('C4DWOOVS_PLUGIN_URI', plugins_url('', __FILE__)); 14 22 23 include_once (dirname(__FILE__). '/includes/required.php'); 15 24 include_once (dirname(__FILE__). '/includes/color.php'); 16 25 include_once (dirname(__FILE__). '/includes/options.php'); … … 132 141 c4d_woo_vs_filesystem_init(); 133 142 global $wp_filesystem, $c4d_plugin_manager; 134 $colorName = (isset($c4d_plugin_manager['c4d-woo-vs-color-field-name']) && $c4d_plugin_manager['c4d-woo-vs-color-field-name'] == '' ) ? $c4d_plugin_manager['c4d-woo-vs-color-field-name'] : 'color';143 $colorName = (isset($c4d_plugin_manager['c4d-woo-vs-color-field-name']) && $c4d_plugin_manager['c4d-woo-vs-color-field-name'] !== '' ) ? $c4d_plugin_manager['c4d-woo-vs-color-field-name'] : 'color'; 135 144 $terms = get_terms( wc_attribute_taxonomy_name(trim($colorName)), array('orderby'=>'name', 'hide_empty' => 0)); 136 145 if (!is_wp_error($terms)) { -
c4d-woo-variation-swatches/trunk/readme.txt
r2140888 r2142417 5 5 Requires at least: 4.0 6 6 Tested up to: 5.2.1 7 Stable tag: 1.3.4 57 Stable tag: 1.3.46 8 8 WC requires at least: 3.2 9 9 WC tested up to: 3.7 … … 99 99 100 100 == Changelog == 101 = 1.3.46 = 102 * Added: notice install C4D Plugin Manager to enable Option page 103 * Fixed: color filed name to create color option. 104 101 105 = 1.3.45 = 102 106 * Added: option to hide clear button
Note: See TracChangeset
for help on using the changeset viewer.