[wp-trac] [WordPress Trac] #34325: get_posts seems to have issues including posts "published in the past"

WordPress Trac noreply at wordpress.org
Sat Oct 17 16:58:10 UTC 2015


#34325: get_posts seems to have issues including posts "published in the past"
-------------------------------+------------------------------
 Reporter:  kevingimbel        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => reporter-feedback


Comment:

 Hey there

 Thanks for your report. Can you explain a bit more which date you set the
 post too?

 Also, have you tried to debug the resulting query? What was the final
 database query like?

 Perhaps it is a caching issue, a plugin conflict or there were simply some
 sticky posts. WP_Query has many unit tests, so this bug seems kinda
 unlikely to me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34325#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list