Changeset 643635
- Timestamp:
- 12/23/2012 10:49:42 AM (13 years ago)
- Location:
- glass/tags/1.3.2
- Files:
-
- 3 edited
- 1 copied
-
. (copied) (copied from glass/tags/1.3.1)
-
glass.js (modified) (1 diff)
-
glass.php (modified) (5 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
glass/tags/1.3.2/glass.js
r643553 r643635 23 23 // Description: Yet an other magnifying glass implementation. 24 24 // Author: Jan-Mark Wams (jms@cs.vu.nl) 25 // Version: 1.3. 125 // Version: 1.3.2 26 26 // Author URI: http://www.codeblab.com/ 27 27 // License: GPL3 -
glass/tags/1.3.2/glass.php
r643553 r643635 5 5 Description: Glass adds a magnifying glass to your images. 6 6 Author: Jan-Mark Wams 7 Version: 1.3. 17 Version: 1.3.2 8 8 Author URI: http://codeblab.com/ 9 9 License: GPL3 … … 83 83 function addScript() 84 84 { 85 $file = get_option(' home')85 $file = get_option('siteurl') 86 86 .'/wp-content/plugins/' 87 87 .dirname(plugin_basename(__FILE__)) 88 88 .'/glass.js'; 89 wp_enqueue_script('glass', $file, false, '1.3. 1');89 wp_enqueue_script('glass', $file, false, '1.3.2'); 90 90 } 91 91 … … 105 105 echo " document.$key='$value';\n"; 106 106 /* Add basename for image URLs. */ 107 $url = get_option(' home')107 $url = get_option('siteurl') 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_option(' home')."/wp-content/plugins/glass/".$path;190 $path = get_option('siteurl')."/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_option(' home')."/wp-content/plugins/glass/spy/";251 $eg = get_option('siteurl')."/wp-content/plugins/glass/spy/"; 252 252 $key = "myrtheGlassRimPath"; 253 253 $val = $myrtheGlassOptions[$key]; -
glass/tags/1.3.2/readme.txt
r643553 r643635 5 5 Requires at least: 3.0.0 6 6 Tested up to: 3.5 7 Stable tag: 1.3. 17 Stable tag: 1.3.2 8 8 License: GPL3 9 9 … … 53 53 == Installation == 54 54 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.55 1. Upload glass.1.3.2.zip to the `/wp-content/plugins/` directory. 56 1. Unpack glass.1.3.2.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.2 = 213 * Replaced depreciated get_option('home') calls with get_option('siteurl'). 214 212 215 = 1.3.1 = 213 216 * Replaced depreciated get_settings('home') calls with get_option('home'). … … 236 239 == Upgrade Notice == 237 240 241 = 1.3.2 = 242 Fixed problem with non default home location. Again. 243 238 244 = 1.3.1 = 239 245 Fixed possible error when using a non default home location. If glass is
Note: See TracChangeset
for help on using the changeset viewer.