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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 25 21:25:15 UTC 2010


#14700: get_lastpostmodified should not just query post_type=post
---------------------------------------------------+------------------------
 Reporter:  vicapow                                |        Owner:           
     Type:  defect (bug)                           |       Status:  closed   
 Priority:  normal                                 |    Milestone:           
Component:  Feeds                                  |      Version:  3.0.1    
 Severity:  normal                                 |   Resolution:  duplicate
 Keywords:  get_lastpostmodified, post_type, type  |  
---------------------------------------------------+------------------------
Changes (by nacin):

  * milestone:  Awaiting Review =>


Old 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'

New 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'

--

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


More information about the wp-trac mailing list