Opened 17 years ago
Closed 17 years ago
#9734 closed defect (bug) (fixed)
wrong filter used in get_post_modified_time()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.8 | Priority: | normal |
| Severity: | normal | Version: | 2.8 |
| Component: | Template | Keywords: | has-patch tested commit |
| Focuses: | Cc: |
Description
related to #9730
patch attached
Attachments (1)
Change History (4)
#2
@
17 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.
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.