Plugin Directory

Changeset 2142417


Ignore:
Timestamp:
08/20/2019 08:56:31 AM (7 years ago)
Author:
coffee4dev
Message:

1.3.46

Location:
c4d-woo-variation-swatches/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • c4d-woo-variation-swatches/trunk/c4d-woo-variation-swatches.php

    r2140888 r2142417  
    88Text Domain: c4d-woo-vs
    99Domain Path: /languages
    10 Version: 1.3.45
     10Version: 1.3.46
    1111*/
     12if ( ! defined( 'ABSPATH' ) ) {
     13  exit;
     14}
     15
     16if ( !in_array(
     17  'woocommerce/woocommerce.php',
     18   get_option( 'active_plugins' )
     19)  ) return;
    1220
    1321define('C4DWOOVS_PLUGIN_URI', plugins_url('', __FILE__));
    1422
     23include_once (dirname(__FILE__). '/includes/required.php');
    1524include_once (dirname(__FILE__). '/includes/color.php');
    1625include_once (dirname(__FILE__). '/includes/options.php');
     
    132141  c4d_woo_vs_filesystem_init();
    133142  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';
    135144  $terms = get_terms( wc_attribute_taxonomy_name(trim($colorName)), array('orderby'=>'name',  'hide_empty' => 0));
    136145  if (!is_wp_error($terms)) {
  • c4d-woo-variation-swatches/trunk/readme.txt

    r2140888 r2142417  
    55Requires at least: 4.0
    66Tested up to: 5.2.1
    7 Stable tag: 1.3.45
     7Stable tag: 1.3.46
    88WC requires at least: 3.2
    99WC tested up to: 3.7
     
    9999
    100100== 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
    101105= 1.3.45 =
    102106* Added: option to hide clear button
Note: See TracChangeset for help on using the changeset viewer.