Changeset 1375043
- Timestamp:
- 03/20/2016 03:06:36 PM (10 years ago)
- Location:
- mobile-zoom-by-errnio/trunk
- Files:
-
- 2 edited
-
mobile-zoom-by-errnio.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mobile-zoom-by-errnio/trunk/mobile-zoom-by-errnio.php
r1345149 r1375043 4 4 Plugin URI: http://errnio.com 5 5 Description: Zoom by errnio enhances the mobile zoom experience on any image on your wordpress site, offering better zoom, sharing, and image discovery. 6 Version: 1. 56 Version: 1.6 7 7 Author: Errnio 8 8 Author URI: http://errnio.com … … 11 11 /***** Constants ******/ 12 12 13 define('ZOOMY_BY_ERRNIO_VERSION', '1.6'); 13 14 define('ZOOMY_BY_ERRNIO_INSTALLER_NAME', 'wordpress_zoomy_by_errnio'); 14 15 … … 162 163 $tagId = get_option(ZOOMY_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, ZOOMY_BY_ERRNIO_VERSION, true); 166 171 wp_enqueue_script($handle ); 167 172 $prev_post = get_adjacent_post( false, '', true); -
mobile-zoom-by-errnio/trunk/readme.txt
r1370139 r1375043 5 5 Requires at least: 3.0 6 6 Tested up to: 4.4 7 Stable tag: 1. 57 Stable tag: 1.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 152 152 == Changelog == 153 153 154 = 1.6 = 155 * Added script versioning and parameters validation 156 154 157 = 1.5 = 155 158 * Simplified code on wp client side … … 182 185 **1.4 Added handling of multiple installed errnio plugins 183 186 **1.5 Simplified code on wp client side 187 **1.6 Added script versioning and parameters validation
Note: See TracChangeset
for help on using the changeset viewer.