Plugin Directory

Changeset 3483671


Ignore:
Timestamp:
03/16/2026 10:00:26 AM (3 weeks ago)
Author:
kamilkhan
Message:

6.2.14

Location:
couponapi/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • couponapi/trunk/brandlogos-resync.php

    r3375023 r3483671  
    267267
    268268        if ($resync['store_slugs'] and !in_array($store->slug, $resync['store_slugs'])) continue;
     269
     270        $option_value = get_option("taxonomy_term_{$store->term_id}");
     271        if (!is_array($option_value) || empty($option_value['store_url'])){
     272            $wpdb->query("INSERT INTO `{$wpdb->prefix}couponapi_logs` (`microtime`, `msg_type`, `message`) VALUES (" . microtime(true) . ", 'debug', 'Skipping logo for store ID {$store->term_id} , Name {$store->name}') ");
     273            continue;
     274        }
     275        $term_meta = array_merge(array('store_logo' => '', 'store_url' => ''), $option_value);
     276
    269277        if($config['use_logos'] == 'if_empty') $config['use_logos'] = 'off';
    270278        $term_meta = array_merge(array('store_logo' => '', 'store_url' => ''), get_option("taxonomy_term_{$store->term_id}"));
  • couponapi/trunk/couponapi.php

    r3383837 r3483671  
    55 * Plugin URI: https://couponapi.org
    66 * Description: Automatically import Coupons & Deals from popular Affiliate Networks into your WordPress Coupon Website.
    7  * Version: 6.2.13
     7 * Version: 6.2.14
    88 * Author: CouponAPI.org
    99 * Author URI: https://couponapi.org
Note: See TracChangeset for help on using the changeset viewer.