WordPress.org

Plugin Directory

Changeset 600327


Ignore:
Timestamp:
09/18/12 03:04:35 (19 months ago)
Author:
jtsternberg
Message:
  • Fixed a bug where imported instagram times could be set to the future
Location:
dsgnwrks-instagram-importer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dsgnwrks-instagram-importer/trunk/dsgnwrks-instagram-importer.php

    r590013 r600327  
    77Author: DsgnWrks 
    88Donate link: http://dsgnwrks.pro/give/ 
    9 Version: 1.0 
     9Version: 1.1 
    1010*/ 
    1111 
     
    131131        echo '<div id="message" class="updated">'; 
    132132 
     133        $pre = date('e'); 
     134        date_default_timezone_set( get_option('timezone_string') ); 
     135 
    133136        $messages = dsgnwrks_import_messages( 'https://api.instagram.com/v1/users/'. $opts[$id]['id'] .'/media/recent?access_token='. $opts[$id]['access_token'] .'&count=80', $opts[$id] ); 
    134137 
     
    140143            echo $message; 
    141144        } 
     145 
     146        date_default_timezone_set( $pre ); 
     147 
    142148        echo '</div>'; 
    143149 
  • dsgnwrks-instagram-importer/trunk/readme.txt

    r590050 r600327  
    1111Requires at least: 3.1 
    1212Tested up to: 3.4.1 
    13 Stable tag: 1.0 
    14 Version: 1.0 
     13Stable tag: 1.0.1 
     14Version: 1.0.1 
    1515License: GPLv2 or later 
    1616License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    4545== Changelog == 
    4646 
     47= 1.0.1 = 
     48* Fixed a bug where imported instagram times could be set to the future 
     49 
    4750= 1.0 = 
    4851* Launch. 
     
    5154== Upgrade Notice == 
    5255 
     56= 1.0.1 = 
     57* Fixed a bug where imported instagram times could be set to the future 
     58 
    5359= 1.0 = 
    5460* Launch 
Note: See TracChangeset for help on using the changeset viewer.