[wp-trac] [WordPress Trac] #61763: get_posts($args) returns "auto-drafts" even when "post_status=>publish"

WordPress Trac noreply at wordpress.org
Fri Jul 26 02:04:43 UTC 2024


#61763: get_posts($args) returns "auto-drafts" even when "post_status=>publish"
-------------------------------+------------------------------
 Reporter:  jobst              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by costdev):

 * keywords:   => reporter-feedback
 * focuses:  accessibility, administration, performance =>


Comment:

 Hi @jobst, thanks for opening this ticket!

 I'm unable to reproduce this using your code on a test site.

 Can you produce this on a clean install?

 - If so, is there any additional information that you can provide that
 might help us to reproduce this?
 - If not, is this only happening on one site?
   - If so, a plugin or the website's theme may be causing this.
   - If not, are there any plugins/themes that all the sites experience
 this use, which may be the culprit?

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


More information about the wp-trac mailing list