Changeset 643553
- Timestamp:
- 12/22/2012 11:21:17 PM (13 years ago)
- Location:
- glass/tags/1.3.1
- Files:
-
- 4 edited
- 1 copied
-
. (copied) (copied from glass/tags/1.3)
-
Makefile (modified) (1 diff)
-
glass.js (modified) (1 diff)
-
glass.php (modified) (5 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
glass/tags/1.3.1/Makefile
r480791 r643553 1 ZIP=glass_v 0_9.zip1 ZIP=glass_v131.zip 2 2 PACK=glass.js glass.php readme.txt rim/rim* spy/spy* 3 3 -
glass/tags/1.3.1/glass.js
r612443 r643553 23 23 // Description: Yet an other magnifying glass implementation. 24 24 // Author: Jan-Mark Wams (jms@cs.vu.nl) 25 // Version: 1.3 25 // Version: 1.3.1 26 26 // Author URI: http://www.codeblab.com/ 27 27 // License: GPL3 -
glass/tags/1.3.1/glass.php
r612275 r643553 5 5 Description: Glass adds a magnifying glass to your images. 6 6 Author: Jan-Mark Wams 7 Version: 1.3 7 Version: 1.3.1 8 8 Author URI: http://codeblab.com/ 9 9 License: GPL3 … … 83 83 function addScript() 84 84 { 85 $file = get_ settings('home')85 $file = get_option('home') 86 86 .'/wp-content/plugins/' 87 87 .dirname(plugin_basename(__FILE__)) 88 88 .'/glass.js'; 89 wp_enqueue_script('glass', $file, false, '1.3 ');89 wp_enqueue_script('glass', $file, false, '1.3.1'); 90 90 } 91 91 … … 105 105 echo " document.$key='$value';\n"; 106 106 /* Add basename for image URLs. */ 107 $url = get_ settings('home')107 $url = get_option('home') 108 108 .'/wp-content/plugins/'.dirname(plugin_basename(__FILE__)) ."/"; 109 109 echo " document.myrtheGlassImgURL='$url';\n"; … … 188 188 if ($path != '') { 189 189 if (!strstr($path, '/')) 190 $path = get_ settings('home')."/wp-content/plugins/glass/".$path;190 $path = get_option('home')."/wp-content/plugins/glass/".$path; 191 191 if (substr($path, -1) != '/') 192 192 $path .= '/'; … … 249 249 250 250 /* Glass Rim Image Path. */ 251 $eg = get_ settings('home')."/wp-content/plugins/glass/spy/";251 $eg = get_option('home')."/wp-content/plugins/glass/spy/"; 252 252 $key = "myrtheGlassRimPath"; 253 253 $val = $myrtheGlassOptions[$key]; -
glass/tags/1.3.1/readme.txt
r612450 r643553 4 4 Tags: loupe, magnifying glass, spyglass, looking glass, glass, zoom, enlarge, image, images, gallery, galleries, photo, photos, picture, pictures, simple microscope, hand glass, light microscope, jeweler's loupe 5 5 Requires at least: 3.0.0 6 Tested up to: 3. 37 Stable tag: 1.3 6 Tested up to: 3.5 7 Stable tag: 1.3.1 8 8 License: GPL3 9 9 … … 53 53 == Installation == 54 54 55 1. Upload glass.1.3. zip to the `/wp-content/plugins/` directory.56 1. Unpack glass.1.3. zip, optionally remove it after unpacking.55 1. Upload glass.1.3.1.zip to the `/wp-content/plugins/` directory. 56 1. Unpack glass.1.3.1.zip, optionally remove it after unpacking. 57 57 1. Activate the plugin through the 'Plugins' menu in WordPress 58 58 … … 210 210 == Changelog == 211 211 212 = 1.3.1 = 213 * Replaced depreciated get_settings('home') calls with get_option('home'). 214 212 215 = 1.3 = 213 216 * Fixed displaced glass image with some browsers and some themes. … … 233 236 == Upgrade Notice == 234 237 238 = 1.3.1 = 239 Fixed possible error when using a non default home location. If glass is 240 working it is only advised to use this version. First timers and if glass 241 stops working after moving the home location, do update. 242 235 243 = 1.3 = 236 244 Fixed displaced (or gray) glass image. Works with all tested browsers and all
Note: See TracChangeset
for help on using the changeset viewer.