Opened 18 years ago
Closed 18 years ago
#9734 closed defect (bug) (fixed)
wrong filter used in get_post_modified_time()
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Template | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch tested commit |
| Cc: | Focuses: |
Description
related to #9730
patch attached
Attachments (1)
Change History (4)
#2
@
18 years ago
Yeah... it gets applied twice:
DB:~/Sites/wp $ grep -r "'get_the_modified_time'" * | grep -v svn
wp-includes/general-template.php: return apply_filters('get_the_modified_time', $the_time, $d);
wp-includes/general-template.php: return apply_filters('get_the_modified_time', $time, $d, $gmt);
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This has been like this for a long time.
So changing it breaks backwards compatibility.
However, I don't think that the current hook combination it causes could be used reliably by a plugin so I think it is safe to change.