Plugin Directory

Changeset 1450672


Ignore:
Timestamp:
07/07/2016 02:38:18 PM (10 years ago)
Author:
katz515
Message:

http API call became unavailable for some reason

Location:
ustream-status/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ustream-status/trunk/readme.txt

    r1233369 r1450672  
    1010Requires at least: 2.8.0
    1111Tested up to: 4.3
    12 Stable tag: 2.0.2
     12Stable tag: 2.0.3
    1313
    1414Display the online/offline status of a Ustream channel
     
    125125== Changelog ==
    126126
     127= 2.0.3 =
     128
     129* Change the API call from http to https
     130
     131
    127132= 2.0.2 =
    128133
  • ustream-status/trunk/ustreamstatus.php

    r1233369 r1450672  
    66Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8S6WTYMY9SXG
    77Description: Display the online/offline status of a Ustream channel.
    8 Version: 2.0.2
     8Version: 2.0.3
    99Author: Katz Ueno
    1010Author URI: http://katzueno.com/
     
    9595            'http' => array( 'timeout' => 3 )
    9696            ));
    97             $UstStatusSerial = @file_get_contents('http://api.ustream.tv/php/channel/' . $account . '/getValueOf/status',0,$opt);
     97            $UstStatusSerial = @file_get_contents('https://api.ustream.tv/php/channel/' . $account . '/getValueOf/status',0,$opt);
    9898            $UstStatusArray = unserialize($UstStatusSerial);
    9999            set_transient($transientName, $UstStatusArray, 60 );
     
    155155        'http' => array( 'timeout' => 3 )
    156156        ));
    157         $UstStatusSerial = @file_get_contents('http://api.ustream.tv/php/channel/' . $account . '/getValueOf/status',0,$opt);
     157        $UstStatusSerial = @file_get_contents('https://api.ustream.tv/php/channel/' . $account . '/getValueOf/status',0,$opt);
    158158        $UstStatusArray = unserialize($UstStatusSerial);
    159159        set_transient($transientName, $UstStatusArray, 60 );
Note: See TracChangeset for help on using the changeset viewer.