Plugin Directory

Changeset 1407134


Ignore:
Timestamp:
04/29/2016 07:35:49 AM (10 years ago)
Author:
proodos
Message:

version 3.1, ready for wordpress 4.5

Location:
pdsweather
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pdsweather/tags/3.1/pdsWeather.php

    r1407132 r1407134  
    55Description: Weather plugin by Proodos. Shows current conditions anywhere on your web page. After activation adjust plugin's settings and then echo pdsWeather() where you want it to show
    66Author: Iva Korlevic, Proodos j.d.o.o.
    7 Version: 3.0
     7Version: 3.1
    88Author URI: http://prood-os.com
    99License: GPL2
     
    1212/**
    1313 * @package pdsWeather
    14  * @version 3.0
     14 * @version 3.1
    1515 */
    1616
     
    3030                $fp = file_get_contents('http://api.wunderground.com/api/' . $api_key . '/conditions/' . get_option('locid') . '.json', 'r');
    3131                $resp = json_decode($fp, true);
    32                
     32
    3333                $current = $resp['current_observation'];
    3434                $current['time'] = date('Y-m-d H:i:s');
  • pdsweather/trunk/pdsWeather.php

    r1407132 r1407134  
    55Description: Weather plugin by Proodos. Shows current conditions anywhere on your web page. After activation adjust plugin's settings and then echo pdsWeather() where you want it to show
    66Author: Iva Korlevic, Proodos j.d.o.o.
    7 Version: 3.0
     7Version: 3.1
    88Author URI: http://prood-os.com
    99License: GPL2
     
    1212/**
    1313 * @package pdsWeather
    14  * @version 3.0
     14 * @version 3.1
    1515 */
    1616
     
    3030                $fp = file_get_contents('http://api.wunderground.com/api/' . $api_key . '/conditions/' . get_option('locid') . '.json', 'r');
    3131                $resp = json_decode($fp, true);
    32                
     32
    3333                $current = $resp['current_observation'];
    3434                $current['time'] = date('Y-m-d H:i:s');
Note: See TracChangeset for help on using the changeset viewer.