[wp-trac] [WordPress Trac] #40790: Ability to filter $post_type in _get_last_post_time
WordPress Trac
noreply at wordpress.org
Thu Apr 25 07:34:48 UTC 2019
#40790: Ability to filter $post_type in _get_last_post_time
-------------------------------------------------+-------------------------
Reporter: toddlevy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version: 4.7.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by keraweb):
@toddlevy
Actually, looking at the code.. The patch in this issue would solve #40789
as well since `get_lastpostdate()` is merely an alias that adds a filter
`get_lastpostdate` for the private function `_get_last_post_type()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40790#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list