Changeset 2511574
- Timestamp:
- 04/08/2021 03:45:45 PM (5 years ago)
- Location:
- tooltip-ck/trunk
- Files:
-
- 3 edited
-
includes/class.front.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
tooltip-ck.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tooltip-ck/trunk/includes/class.front.php
r2510260 r2511574 87 87 88 88 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 90 100 if (is_feed()) return $content; 101 // check for Divi 91 102 $isDivi = isset($_REQUEST['page']) && $_REQUEST['page'] === 'et_theme_builder'; 92 103 if ($isDivi) return $content; -
tooltip-ck/trunk/readme.txt
r2510260 r2511574 3 3 Tags: tooltip 4 4 Requires at least: 4.5 5 Tested up to: 5. 66 Stable tag: 2.2.1 35 Tested up to: 5.7 6 Stable tag: 2.2.14 7 7 License: GPLv2 or later 8 8 … … 45 45 46 46 == Changelog == 47 48 = 2.2.14 - 08 april 2021 = 49 * Improve compatibility with AMP plugin 50 * Fix generic issue in front 47 51 48 52 = 2.2.13 - 06 april 2021 = -
tooltip-ck/trunk/tooltip-ck.php
r2510260 r2511574 4 4 * Plugin URI: https://www.ceikay.com/plugins/tooltip-ck 5 5 * 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.1 36 * Version: 2.2.14 7 7 * Author: Cédric KEIFLIN 8 8 * Author URI: https://www.ceikay.com … … 16 16 17 17 if (! defined('CK_LOADED')) define('CK_LOADED', 1); 18 if (! defined('TOOLTIPCK_VERSION')) define('TOOLTIPCK_VERSION', '2.2.1 3');18 if (! defined('TOOLTIPCK_VERSION')) define('TOOLTIPCK_VERSION', '2.2.14'); 19 19 if (! defined('TOOLTIPCK_PLATFORM')) define('TOOLTIPCK_PLATFORM', 'wordpress'); 20 20 if (! defined('TOOLTIPCK_PATH')) define('TOOLTIPCK_PATH', dirname(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.