[wp-trac] [WordPress Trac] #55207: WP_Query returns published sticky posts when post_status is set to draft

WordPress Trac noreply at wordpress.org
Mon Feb 21 01:17:51 UTC 2022


#55207: WP_Query returns published sticky posts when post_status is set to draft
--------------------------+------------------------------
 Reporter:  NomNom99      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by NomNom99):

 Hi @azouamauriac , thank you. I've recommended the OP to use
 `ignore_sticky_post` as well for the time being.

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


More information about the wp-trac mailing list