Changeset 5918

Show
Ignore:
Timestamp:
08/22/07 22:30:06 (1 year ago)
Author:
ryan
Message:

Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801

Files:

Legend:

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

    r5906 r5918  
    16711671        $lastpostdate = $cache_lastpostdate[$blog_id][$timezone]; 
    16721672    } 
    1673     return $lastpostdate
     1673    return apply_filters( 'get_lastpostdate', $lastpostdate )
    16741674} 
    16751675 
     
    16981698        $lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone]; 
    16991699    } 
    1700     return $lastpostmodified
     1700    return apply_filters( 'get_lastpostmodified', $lastpostmodified )
    17011701} 
    17021702