Plugin Directory

Changeset 1110878


Ignore:
Timestamp:
03/12/2015 06:26:18 AM (11 years ago)
Author:
peterkodermac
Message:

Stefan Mayer fixed a hardcoded problem

Location:
raspberry-weather/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • raspberry-weather/trunk/functions.php

    r1108929 r1110878  
    2525function raspberryweather_register($plugin_array)
    2626{
    27     $url = trim(get_bloginfo('url'), "/") . "/wp-content/plugins/raspberry-weather/editor_plugin.js";
     27    $url = plugins_url( 'editor_plugin.js', __FILE__ );
    2828    $plugin_array['raspberryweather'] = $url;
    2929    return $plugin_array;
  • raspberry-weather/trunk/readme.txt

    r1108929 r1110878  
    5353== Changelog ==
    5454
     55= 1.3 =
     56
     57Another fine contribution by Stefan Mayer, removed hardcoded path to plugin js
     58
    5559= 1.2 =
    5660Thanks to Stefan Mayer for removing deprecated functions and adding some improvements! Graph now works on newest PHP versions!
Note: See TracChangeset for help on using the changeset viewer.