Changeset 1375056
- Timestamp:
- 03/20/2016 03:27:48 PM (10 years ago)
- Location:
- swipy-by-errnio/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
swipy-by-errnio.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
swipy-by-errnio/trunk/readme.txt
r1368192 r1375056 155 155 == Changelog == 156 156 157 = 1.7 = 158 * Added script versioning and parameters validation 159 157 160 = 1.6 = 158 161 * Simplified code on wp client side … … 181 184 == Upgrade Notice == 182 185 186 **1.7 Added script versioning and parameters validation 183 187 **1.6 Simplified code on wp client side 184 188 **1.5 Added handling of multiple installed errnio plugins -
swipy-by-errnio/trunk/swipy-by-errnio.php
r1345175 r1375056 4 4 Plugin URI: http://errnio.com 5 5 Description: Swipy offers your mobile site visitors more of your content with swipe action cards, enhancing experience, content circulation and time spent. 6 Version: 1. 66 Version: 1.7 7 7 Author: Errnio 8 8 Author URI: http://errnio.com … … 11 11 /***** Constants ******/ 12 12 13 define('SWIPY_BY_ERRNIO_VERSION', '1.7'); 13 14 define('SWIPY_BY_ERRNIO_INSTALLER_NAME', 'wordpress_swipy_by_errnio'); 14 15 … … 162 163 $tagId = get_option(SWIPY_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, SWIPY_BY_ERRNIO_VERSION, true); 166 171 wp_enqueue_script($handle ); 167 172
Note: See TracChangeset
for help on using the changeset viewer.