[wp-trac] [WordPress Trac] #14700: get_lastpostmodified should not just query post_type=post

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 26 04:14:58 UTC 2010


#14700: get_lastpostmodified should not just query post_type=post
--------------------------+-------------------------------------------------
 Reporter:  vicapow       |       Owner:                                       
     Type:  defect (bug)  |      Status:  new                                  
 Priority:  normal        |   Milestone:  Awaiting Review                      
Component:  Feeds         |     Version:  3.0.1                                
 Severity:  normal        |    Keywords:  get_lastpostmodified, post_type, type
--------------------------+-------------------------------------------------
 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'

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14700>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list