Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #57822


Ignore:
Timestamp:
03/01/2023 11:48:12 AM (12 months ago)
Author:
ocean90
Comment:

I noticed that in Gutenberg this case is/was handled but it seems like it was never backported to core?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57822

    • Property Keywords has-patch added
    • Property Version changed from trunk to 5.8
  • Ticket #57822 – Description

    initial v3  
    11When the Query Loop block has the option "Sticky Posts" set to "Only" and there are NO posts marked as Sticky, the block will show all the latest (non-sticky) posts.
    22
    3 This is related to the VERY old bug https://core.trac.wordpress.org/ticket/28099 where an empty array passed to 'post__in' is ignored and the query variable is treated as not set.
     3This is related to the VERY old bug #28099 where an empty array passed to `'post__in'` is ignored and the query variable is treated as not set.
    44
    55The bug is set to WONTFIX because fixing it would break too many plugins. It now it affects the Query Loop block.