Plugin Directory

Changeset 1874671


Ignore:
Timestamp:
05/15/2018 12:32:35 PM (8 years ago)
Author:
devdmkr
Message:

update

Location:
prime-ads/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • prime-ads/trunk/inc/controllers/ApiController.php

    r1874627 r1874671  
    165165        if(function_exists('w3tc_flush_all'))
    166166            update_option('ads-flush-w3tc', true);
    167         if(function_exists('rocket_clean_domain')) rocket_clean_domain();
     167        update_option('ads-flush-wp-rocket', true);
    168168       
    169169        echo json_encode(array('result' => 'ok', 'ver' => ADS_VERSION));
  • prime-ads/trunk/prime-ads.php

    r1874627 r1874671  
    33    Plugin Name: Prime Ads
    44    Description: Вывод рекламы с сервиса Prime Ads
    5     Version: 2.2.8
     5    Version: 2.2.9
    66    Author: Proffit
    77    Author URI: http://proffit.guru/
     
    1919use AdsNS\SxGeo\SxGeo;
    2020
    21 define('ADS_VERSION', '2.2.8');
     21define('ADS_VERSION', '2.2.9');
    2222define('ADS_DB_VERSION', '2.2.7');
    2323define('ADS_PATH', realpath(__DIR__));
     
    635635}
    636636
     637if(get_option('ads-flush-wp-rocket')){
     638    add_action('plugins_loaded', function(){
     639        if(function_exists('rocket_clean_domain')) {
     640                rocket_clean_domain();
     641            }
     642    }, 100);
     643    delete_option('ads-flush-wp-rocket');
     644}
     645
    637646function ads_w3tc_flush(){
    638647    w3tc_flush_all();
  • prime-ads/trunk/readme.txt

    r1874627 r1874671  
    77Requires at least: 4.0
    88Tested up to: 4.7
    9 Stable tag: 2.2.8
     9Stable tag: 2.2.9
    1010
    1111Ответная часть сервиса монитизации Prime Ads (http://primeads.ru)
Note: See TracChangeset for help on using the changeset viewer.