Plugin Directory

Changeset 2510260


Ignore:
Timestamp:
04/06/2021 06:18:02 PM (5 years ago)
Author:
ced1870
Message:

2.2.13

Location:
tooltip-ck/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tooltip-ck/trunk/includes/class.front.php

    r2506904 r2510260  
    1818
    1919    function __construct() {
    20         // add_action('wp_footer', array( $this, 'load_assets'));
    2120        add_action('wp_footer', array( $this, 'load_inline_css'));
    2221        add_action('wp_enqueue_scripts', array( $this, 'load_assets_files'));
    2322        $isDivi = isset($_REQUEST['page']) && $_REQUEST['page'] === 'et_theme_builder';
    2423        if (! $isDivi) add_action('wp', array( $this, 'do_my_ob_start') );
     24        add_filter('the_content', array( $this, 'search_key' ), 0 );
    2525//      add_action('template_redirect',array( $this, 'do_my_ob_start') );
    26         add_filter('the_content', array( $this, 'search_key' ), 0 );
    2726    }
    2827
     
    8887
    8988    function search_key($content){
     89        if (function_exists( 'ampforwp_is_amp_endpoint' ) && ampforwp_is_amp_endpoint()) return $content;
    9090        if (is_feed()) return $content;
     91        $isDivi = isset($_REQUEST['page']) && $_REQUEST['page'] === 'et_theme_builder';
     92        if ($isDivi) return $content;
    9193
    9294        // test if the plugin is needed
     
    106108    function create_tooltip(&$matches) {
    107109        $ID = (int) (microtime(true) * 100000); // unique ID
     110
    108111        $tipWidth = $this->fields->getValue('stylewidth', '150');
    109112        $fxduration = $this->fields->getValue('fxduration');
  • tooltip-ck/trunk/readme.txt

    r2506904 r2510260  
    44Requires at least: 4.5
    55Tested up to: 5.6
    6 Stable tag: 2.2.12
     6Stable tag: 2.2.13
    77License: GPLv2 or later
    88
     
    4545
    4646== Changelog ==
     47
     48= 2.2.13 - 06 april 2021 =
     49* Fix issue with AMP plugin
    4750
    4851= 2.2.12 - 31 march 2021 =
  • tooltip-ck/trunk/tooltip-ck.php

    r2506904 r2510260  
    44 * Plugin URI: https://www.ceikay.com/plugins/tooltip-ck
    55 * Description: Tooltip CK allows you to put some nice tooltip effects into your content. Example : {tooltip}Text to hover{end-text}a friendly little boy{end-tooltip}
    6  * Version: 2.2.12
     6 * Version: 2.2.13
    77 * Author: Cédric KEIFLIN
    88 * Author URI: https://www.ceikay.com
     
    1616
    1717if (! defined('CK_LOADED')) define('CK_LOADED', 1);
    18 if (! defined('TOOLTIPCK_VERSION')) define('TOOLTIPCK_VERSION', '2.2.12');
     18if (! defined('TOOLTIPCK_VERSION')) define('TOOLTIPCK_VERSION', '2.2.13');
    1919if (! defined('TOOLTIPCK_PLATFORM')) define('TOOLTIPCK_PLATFORM', 'wordpress');
    2020if (! defined('TOOLTIPCK_PATH')) define('TOOLTIPCK_PATH', dirname(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.