Make WordPress Core

Changeset 4134


Ignore:
Timestamp:
08/30/2006 04:46:08 PM (18 years ago)
Author:
ryan
Message:

the_modified_date(). Props westi. fixes #2374

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r4116 r4134  
    610610    else
    611611        return $the_date;
     612}
     613
     614
     615function the_modified_date($d = '') {
     616    echo apply_filters('the_modified_date', get_the_modified_date($d), $d);
     617}
     618
     619
     620function get_the_modified_date($d = '') {
     621    if ( '' == $d )
     622        $the_time = get_post_modified_time(get_settings('date_format'));
     623    else
     624        $the_time = get_post_modified_time($d);
     625    return apply_filters('get_the_modified_date', $the_time, $d);
    612626}
    613627
Note: See TracChangeset for help on using the changeset viewer.