Plugin Directory

Changeset 2511574


Ignore:
Timestamp:
04/08/2021 03:45:45 PM (5 years ago)
Author:
ced1870
Message:

2.2.14

Location:
tooltip-ck/trunk
Files:
3 edited

Legend:

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

    r2510260 r2511574  
    8787
    8888    function search_key($content){
    89         if (function_exists( 'ampforwp_is_amp_endpoint' ) && ampforwp_is_amp_endpoint()) return $content;
     89        // check for the Amp plugin
     90        if (function_exists( 'ampforwp_is_amp_endpoint' ) && ampforwp_is_amp_endpoint()) {
     91            $content = str_replace('{tooltip}', '<span class="tooltipck">', $content);
     92            $content = str_replace('{end-texte}', '</span> <i class="tooltipck-tip-amp">', $content);
     93            $content = str_replace('{end-text}', '</span><i>', $content);
     94            $content = str_replace('{end-tooltip}', '</i>', $content);
     95            return $content;
     96        }
     97        // simple check, if the class is not instanciated, then nothing to do here
     98        if (! $this->fields) return $content;
     99        // check for feed
    90100        if (is_feed()) return $content;
     101        // check for Divi
    91102        $isDivi = isset($_REQUEST['page']) && $_REQUEST['page'] === 'et_theme_builder';
    92103        if ($isDivi) return $content;
  • tooltip-ck/trunk/readme.txt

    r2510260 r2511574  
    33Tags: tooltip
    44Requires at least: 4.5
    5 Tested up to: 5.6
    6 Stable tag: 2.2.13
     5Tested up to: 5.7
     6Stable tag: 2.2.14
    77License: GPLv2 or later
    88
     
    4545
    4646== Changelog ==
     47
     48= 2.2.14 - 08 april 2021 =
     49* Improve compatibility with AMP plugin
     50* Fix generic issue in front
    4751
    4852= 2.2.13 - 06 april 2021 =
  • tooltip-ck/trunk/tooltip-ck.php

    r2510260 r2511574  
    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.13
     6 * Version: 2.2.14
    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.13');
     18if (! defined('TOOLTIPCK_VERSION')) define('TOOLTIPCK_VERSION', '2.2.14');
    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.