Changeset 1375062
- Timestamp:
- 03/20/2016 03:38:51 PM (10 years ago)
- Location:
- text-selection-for-mobile/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
tappy-related-by-errnio.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
text-selection-for-mobile/trunk/readme.txt
r1368198 r1375062 5 5 Requires at least: 3.0 6 6 Tested up to: 4.4 7 Stable tag: 2. 57 Stable tag: 2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 141 141 == Changelog == 142 142 143 = 2.6 = 144 * Added script versioning and parameters validation 145 143 146 = 2.5 = 144 147 * Simplified code on wp client side … … 164 167 == Upgrade Notice == 165 168 169 **2.6 Added script versioning and parameters validation 166 170 **2.5 Simplified code on wp client side 167 171 **2.4 Added handling of multiple installed errnio plugins -
text-selection-for-mobile/trunk/tappy-related-by-errnio.php
r1345183 r1375062 4 4 Plugin URI: http://errnio.com 5 5 Description: Wordpress Tap to Search offers your mobile site visitors related search phrases and content at the tap of a text. 6 Version: 2. 56 Version: 2.6 7 7 Author: Errnio 8 8 Author URI: http://errnio.com … … 11 11 /***** Constants ******/ 12 12 13 define('TAPPY_SEARCHMORE_BY_ERRNIO_VERSION', '2.6'); 13 14 define('TAPPY_SEARCHMORE_BY_ERRNIO_INSTALLER_NAME', 'wordpress_tappy_searchmore_by_errnio'); 14 15 … … 162 163 $tagId = get_option(TAPPY_SEARCHMORE_BY_ERRNIO_OPTION_NAME_TAGID); 163 164 165 if (!$tagId || empty($tagId)) { 166 return; 167 } 168 164 169 $script_url = "//service.errnio.com/loader?tagid=".$tagId; 165 wp_register_script($handle, $script_url, false, '1.0', true);170 wp_register_script($handle, $script_url, false, TAPPY_SEARCHMORE_BY_ERRNIO_VERSION, true); 166 171 wp_enqueue_script($handle ); 167 172
Note: See TracChangeset
for help on using the changeset viewer.