Changeset 2227 for trunk/wp-includes/template-functions-general.php
- Timestamp:
- 02/06/2005 03:40:08 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-general.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-general.php
r2184 r2227 60 60 function bloginfo($show='') { 61 61 $info = get_bloginfo($show); 62 $info = apply_filters('bloginfo', $info );62 $info = apply_filters('bloginfo', $info, $show); 63 63 echo convert_chars($info); 64 64 } … … 596 596 $previousday = $day; 597 597 } 598 $the_date = apply_filters('the_date', $the_date );598 $the_date = apply_filters('the_date', $the_date, $d, $before, $after); 599 599 if ($echo) { 600 600 echo $the_date; … … 605 605 606 606 function the_time( $d = '' ) { 607 echo apply_filters('the_time', get_the_time( $d ) );607 echo apply_filters('the_time', get_the_time( $d ), $d); 608 608 } 609 609 … … 613 613 else 614 614 $the_time = get_post_time($d); 615 return apply_filters('get_the_time', $the_time );615 return apply_filters('get_the_time', $the_time, $d); 616 616 } 617 617 … … 624 624 625 625 $time = mysql2date($d, $time); 626 return apply_filters('get_the_time', $time );626 return apply_filters('get_the_time', $time, $d, $gmt); 627 627 } 628 628 … … 643 643 $previousweekday = $day; 644 644 } 645 $the_weekday_date = apply_filters('the_weekday_date', $the_weekday_date );645 $the_weekday_date = apply_filters('the_weekday_date', $the_weekday_date, $before, $after); 646 646 echo $the_weekday_date; 647 647 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)