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

WordPress Trac noreply at wordpress.org
Tue Mar 8 07:19:09 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:  6.0
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  early         |     Focuses:
--------------------------+---------------------

Comment (by NomNom99):

 Thanks @peterwilsoncc

 I created a patch. It doesn't have any tests for now, figured it'll be
 better to move ahead once the issue is confirmed.

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


More information about the wp-trac mailing list