Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #64712


Ignore:
Timestamp:
02/24/2026 10:49:06 AM (8 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64712

    • Property Keywords close added
    • Property Version trunk
  • Ticket #64712 – Description

    initial v2  
    44When viewing a category or taxonomy page - Sticky posts are not shown at the top of the list. This appears to be by design.
    55
    6 > Yeah, this actually seems to be "as intended", in a way. The WP_Query class will not load sticky posts if you're not is_home. That should be true in classic themes as well. The query loop block takes no action on the query if you leave the default sticky setting, and that's going to have to change.
     6> Yeah, this actually seems to be "as intended", in a way. The `WP_Query` class will not load sticky posts if you're not `is_home`. That should be true in classic themes as well. The query loop block takes no action on the query if you leave the default sticky setting, and that's going to have to change.
    77
    8 > I think the "Include" sticky setting needs an explicit value set (right now it's value is empty), and that needs to trigger using post__in in some block logic that currently lives in WordPress core.
     8> I think the "Include" sticky setting needs an explicit value set (right now it's value is empty), and that needs to trigger using `post__in` in some block logic that currently lives in WordPress core.
    99https://github.com/WordPress/gutenberg/issues/51936#issuecomment-2105414534
    1010