WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14700 closed defect (bug) (duplicate)

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

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 (last modified by nacin)

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 (2)

comment:1 @aaroncampbell5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

See #14922 which has patches and is currently slated for 3.1

comment:2 @nacin5 years ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.