WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#14700 closed defect (bug)

get_lastpostmodified should not just query post_type=post — at Initial Version

Reported by: vicapow Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: Feeds Keywords: get_lastpostmodified, post_type, type
Focuses: Cc:

Description

in a previous ticket:

https://core.trac.wordpress.org/ticket/9636

post_type = 'post' was added to the relevant queries but I'd argue that post_type should not be set to post because of the possibility of different post types.

Alternatively, instead of removing post_type = 'post' somehow use 'capability_type' => 'post'

Change History (0)

Note: See TracTickets for help on using tickets.