Changeset 2510260
- Timestamp:
- 04/06/2021 06:18:02 PM (5 years ago)
- Location:
- tooltip-ck/trunk
- Files:
-
- 3 edited
-
includes/class.front.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
tooltip-ck.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tooltip-ck/trunk/includes/class.front.php
r2506904 r2510260 18 18 19 19 function __construct() { 20 // add_action('wp_footer', array( $this, 'load_assets'));21 20 add_action('wp_footer', array( $this, 'load_inline_css')); 22 21 add_action('wp_enqueue_scripts', array( $this, 'load_assets_files')); 23 22 $isDivi = isset($_REQUEST['page']) && $_REQUEST['page'] === 'et_theme_builder'; 24 23 if (! $isDivi) add_action('wp', array( $this, 'do_my_ob_start') ); 24 add_filter('the_content', array( $this, 'search_key' ), 0 ); 25 25 // add_action('template_redirect',array( $this, 'do_my_ob_start') ); 26 add_filter('the_content', array( $this, 'search_key' ), 0 );27 26 } 28 27 … … 88 87 89 88 function search_key($content){ 89 if (function_exists( 'ampforwp_is_amp_endpoint' ) && ampforwp_is_amp_endpoint()) return $content; 90 90 if (is_feed()) return $content; 91 $isDivi = isset($_REQUEST['page']) && $_REQUEST['page'] === 'et_theme_builder'; 92 if ($isDivi) return $content; 91 93 92 94 // test if the plugin is needed … … 106 108 function create_tooltip(&$matches) { 107 109 $ID = (int) (microtime(true) * 100000); // unique ID 110 108 111 $tipWidth = $this->fields->getValue('stylewidth', '150'); 109 112 $fxduration = $this->fields->getValue('fxduration'); -
tooltip-ck/trunk/readme.txt
r2506904 r2510260 4 4 Requires at least: 4.5 5 5 Tested up to: 5.6 6 Stable tag: 2.2.1 26 Stable tag: 2.2.13 7 7 License: GPLv2 or later 8 8 … … 45 45 46 46 == Changelog == 47 48 = 2.2.13 - 06 april 2021 = 49 * Fix issue with AMP plugin 47 50 48 51 = 2.2.12 - 31 march 2021 = -
tooltip-ck/trunk/tooltip-ck.php
r2506904 r2510260 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 26 * Version: 2.2.13 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 2');18 if (! defined('TOOLTIPCK_VERSION')) define('TOOLTIPCK_VERSION', '2.2.13'); 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.