[wp-trac] [WordPress Trac] #47777: "get_lastpostmodified" does not seem to return the intended value when using custom post types
WordPress Trac
noreply at wordpress.org
Wed Jul 8 01:43:20 UTC 2020
#47777: "get_lastpostmodified" does not seem to return the intended value when
using custom post types
--------------------------------------+-----------------------------
Reporter: mikaumoto | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Posts, Post Types | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by munyagu):
Add `post_type` parameter and a test to `get_lastpostdate` as well.
This is my first test code, and I relied heavily on @donmhico's patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47777#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list