Plugin Directory

Changeset 3815095


Ignore:
Timestamp:
11/21/2026 10:19:55 AM (less than one hour ago)
Author:
spacetime
Message:

Few fixes

Location:
ad-inserter/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ad-inserter/trunk/ad-inserter.php

    r3808077 r3815095  
    2828- Security fix for Content Injection (credits to Siyang Wu)
    2929- Updated MaxMind library (Pro only)
     30- Updated tcpdf library (Pro only)
    3031- Fixes for compatibility with PHP 8.5
    3132- Fixes for WPML translated taxonomy conditions
    … …  
    1319513196$ai_wp_data [AI_UNFILTERED_HTML]        = !(defined ('DISALLOW_UNFILTERED_HTML') && DISALLOW_UNFILTERED_HTML);
    1319613197$ai_wp_data [AI_CODE_HASHES]            = array ();
     13198$ai_wp_data [AI_WPML]                   = defined ('ICL_SITEPRESS_VERSION');
    1319713199
    1319813200$ai_w3tc_code = array ();
  • ad-inserter/trunk/constants.php

    r3808077 r3815095  
    3939
    4040if (!defined( 'AD_INSERTER_VERSION'))
    41   define ('AD_INSERTER_VERSION', '2.8.20-7');
     41  define ('AD_INSERTER_VERSION', '2.8.20-8');
    4242
    4343if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
    … …  
    12701270define ('AI_BLOCK_OVERRIDE_STICKY',      83);
    12711271define ('AI_CODE_HASHES',                84);
    1272 
     1272define ('AI_WPML',                       85);
    12731273
    12741274define ('AI_CONTEXT_NONE',                0);
  • ad-inserter/trunk/includes/dst/dst.php

    r3239538 r3815095  
    55 * Experimental
    66 *
    7  * @version 1.0.8
     7 * @version 1.0.10
    88 * @author Igor Funa <igor.funa/gmail.com>
    99 * @license MIT
    … …  
    1313
    1414Change Log
     15
     16DST 1.0.10 - 2026-11-21
     17- Fix for cases where get_transient returns array
    1518
    1619DST 1.0.9 - 2025-02-12
    … …  
    313316    $this->check_schedule ();
    314317
    315     if ($upgrade_time = get_transient (self::DST_TRANSIENT_UPGRADED . $this->slug)) {
     318    if ($upgrade_time = (int) get_transient (self::DST_TRANSIENT_UPGRADED . $this->slug)) {
    316319      $this->log_event ('UPGRADED ' .(time () - $upgrade_time) . ' s ago');
    317320
  • ad-inserter/trunk/readme.txt

    r3808077 r3815095  
    369369- Security fix for Content Injection (credits to Siyang Wu)
    370370- Updated MaxMind library (Pro only)
     371- Updated tcpdf library (Pro only)
    371372- Fixes for compatibility with PHP 8.5
    372373- Fixes for WPML translated taxonomy conditions
    … …  
    456457Security fix for Content Injection (credits to Siyang Wu);
    457458Updated MaxMind library (Pro only);
     459Updated tcpdf library (Pro only);
    458460Fixes for compatibility with PHP 8.5;
    459461Fixes for WPML translated taxonomy conditions;
Note: See TracChangeset for help on using the changeset viewer.