[wp-trac] [WordPress Trac] #57822: Query Loop block showing all posts when Sticky Posts set to "Only"

WordPress Trac noreply at wordpress.org
Wed Mar 1 15:30:24 UTC 2023


#57822: Query Loop block showing all posts when Sticky Posts set to "Only"
-------------------------------------------------+-------------------------
 Reporter:  RavanH                               |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch gutenberg-merge has-       |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch gutenberg-merge => has-patch gutenberg-merge has-
     testing-info


Comment:

 == Testing Instructions
 These steps define how to reproduce the issue, and indicate the expected
 behavior.

 === Steps to Reproduce
 1. Add a new Post.
 2. Add a Query Loop block.
 3. Select "Start blank".
 4. Select first layout.
 5. Change "Sticky Posts" to "Only".
 6. Publish the post.
 7. View in the front-end. 🐞 Notice all of the non-sticky posts are
 showing.

 === Expected Results
 When testing a patch to validate it works as expected:
 - ✅ In the front-end, non-sticky posts should not show.

 When reproducing a bug:
 - ❌ In the front-end, the non-sticky posts are showing.

   **Test Report Icons:**
   🐞 <= Indicates where issue ("bug") occurs.
   ✅ <= Behavior is ''expected''.
   ❌ <= Behavior is ''NOT expected''.

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


More information about the wp-trac mailing list