Plugin Directory

Changeset 643635


Ignore:
Timestamp:
12/23/2012 10:49:42 AM (13 years ago)
Author:
codeblab
Message:

Replaced 'home' with 'siteurl' for get_option().

Location:
glass/tags/1.3.2
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • glass/tags/1.3.2/glass.js

    r643553 r643635  
    2323// Description: Yet an other magnifying glass implementation.
    2424// Author: Jan-Mark Wams (jms@cs.vu.nl)
    25 // Version: 1.3.1
     25// Version: 1.3.2
    2626// Author URI: http://www.codeblab.com/
    2727// License: GPL3
  • glass/tags/1.3.2/glass.php

    r643553 r643635  
    55Description: Glass adds a magnifying glass to your images.
    66Author: Jan-Mark Wams
    7 Version: 1.3.1
     7Version: 1.3.2
    88Author URI: http://codeblab.com/
    99License: GPL3
     
    8383    function addScript()
    8484    {     
    85       $file = get_option('home')
     85      $file = get_option('siteurl')
    8686    .'/wp-content/plugins/'
    8787    .dirname(plugin_basename(__FILE__))
    8888    .'/glass.js';
    89       wp_enqueue_script('glass', $file, false, '1.3.1');
     89      wp_enqueue_script('glass', $file, false, '1.3.2');
    9090    }
    9191   
     
    105105        echo "  document.$key='$value';\n";
    106106    /* Add basename for image URLs. */
    107     $url = get_option('home')
     107    $url = get_option('siteurl')
    108108      .'/wp-content/plugins/'.dirname(plugin_basename(__FILE__)) ."/";
    109109    echo "  document.myrtheGlassImgURL='$url';\n";
     
    188188    if ($path != '') {
    189189      if (!strstr($path, '/'))
    190         $path = get_option('home')."/wp-content/plugins/glass/".$path;
     190        $path = get_option('siteurl')."/wp-content/plugins/glass/".$path;
    191191      if (substr($path, -1) != '/')
    192192        $path .= '/';
     
    249249
    250250      /* Glass Rim Image Path. */
    251       $eg      = get_option('home')."/wp-content/plugins/glass/spy/";
     251      $eg      = get_option('siteurl')."/wp-content/plugins/glass/spy/";
    252252      $key     = "myrtheGlassRimPath";
    253253      $val     = $myrtheGlassOptions[$key];
  • glass/tags/1.3.2/readme.txt

    r643553 r643635  
    55Requires at least: 3.0.0
    66Tested up to: 3.5
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88License: GPL3
    99
     
    5353== Installation ==
    5454
    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.
     551. Upload glass.1.3.2.zip to the `/wp-content/plugins/` directory.
     561. Unpack glass.1.3.2.zip, optionally remove it after unpacking.
    57571. Activate the plugin through the 'Plugins' menu in WordPress
    5858
     
    210210== Changelog ==
    211211
     212= 1.3.2 =
     213* Replaced depreciated get_option('home') calls with get_option('siteurl').
     214
    212215= 1.3.1 =
    213216* Replaced depreciated get_settings('home') calls with get_option('home').
     
    236239== Upgrade Notice ==
    237240
     241= 1.3.2 =
     242Fixed problem with non default home location. Again.
     243
    238244= 1.3.1 =
    239245Fixed possible error when using a non default home location. If glass is
Note: See TracChangeset for help on using the changeset viewer.