Changeset 6301

Show
Ignore:
Timestamp:
10/31/07 16:59:05 (10 months ago)
Author:
ryan
Message:

Post timezone to lastpost filters. Props mdawaffe. fixes #5292

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/post.php

    r6296 r6301  
    15851585        $lastpostdate = $cache_lastpostdate[$blog_id][$timezone]; 
    15861586    } 
    1587     return apply_filters( 'get_lastpostdate', $lastpostdate ); 
     1587    return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone ); 
    15881588} 
    15891589 
     
    16121612        $lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone]; 
    16131613    } 
    1614     return apply_filters( 'get_lastpostmodified', $lastpostmodified ); 
     1614    return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone ); 
    16151615} 
    16161616