Plugin Directory

Changeset 830596


Ignore:
Timestamp:
12/31/2013 02:57:46 AM (12 years ago)
Author:
ohryan
Message:

Fixed date math bug.

Location:
retroposts
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • retroposts/tags/0.1.2/readme.txt

    r769734 r830596  
    44Requires at least: 3.0
    55Tested up to: 3.6
    6 Stable tag: 0.1.1
     6Stable tag: 0.1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828== Changelog ==
    2929
     30= 0.1.2 =
     31* Fixed a date bug.(Turns out the ISO-8601 dates returned by PHP's date() do not work like I thought they did.)
     32
    3033= 0.1.1 =
    3134* Improved handling of multiple posts in a single day.
  • retroposts/tags/0.1.2/retropost.php

    r769734 r830596  
    2222
    2323function retroposts_dashboard_widget_display() {
    24     $week = date('W') - 1;
     24    $week = date('W');
     25    $loop_year = null;
     26
     27
    2528
    2629    add_filter( 'posts_where', 'retroposts_filter_year' );
  • retroposts/trunk/readme.txt

    r769734 r830596  
    44Requires at least: 3.0
    55Tested up to: 3.6
    6 Stable tag: 0.1.1
     6Stable tag: 0.1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828== Changelog ==
    2929
     30= 0.1.2 =
     31* Fixed a date bug.(Turns out the ISO-8601 dates returned by PHP's date() do not work like I thought they did.)
     32
    3033= 0.1.1 =
    3134* Improved handling of multiple posts in a single day.
  • retroposts/trunk/retropost.php

    r769734 r830596  
    2222
    2323function retroposts_dashboard_widget_display() {
    24     $week = date('W') - 1;
     24    $week = date('W');
     25    $loop_year = null;
     26
     27
    2528
    2629    add_filter( 'posts_where', 'retroposts_filter_year' );
Note: See TracChangeset for help on using the changeset viewer.