Opened 4 hours ago
Last modified 59 minutes ago
#62908 new enhancement
Editor: Add option to ignore sticky posts in Query block
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | gutenberg-merge has-patch |
Focuses: | Cc: |
Description
Introduce a new ignore
value for the sticky
query argument. When this value is used, the query won't prepend sticky posts at the top; instead, it will display them in the natural order of the query.
Gutenberg PR: https://github.com/WordPress/gutenberg/pull/69057.
Attachments (2)
Change History (4)
This ticket was mentioned in PR #8265 on WordPress/wordpress-develop by @Mamaduka.
4 hours ago
#1
- Keywords has-patch added
#2
@
59 minutes ago
Test Report
This report confirms the functionality of the patch provided.
Tested Patch: https://github.com/WordPress/wordpress-develop/pull/8265
Environment
OS: Windows 11
Web Server: WordPress Playground
PHP: Playground Default
WordPress Version: 6.8-alpha-20250125.203533
Browser: Chrome
Theme: Twenty Twenty-Five v1.0
Active Plugins: None
Actual Results
✅ Front-end behavior: The patch resolved the issue successfully.
❌ Backend behavior: When sticky posts are selected to be included, the query does not prepend sticky posts at the top, instead displaying them in the natural order of the query.
Introduce a new
ignore
value for thesticky
query argument. When this value is used, the query won't prepend sticky posts at the top; instead, it will display them in the natural order of the query.Related: https://github.com/WordPress/wordpress-develop/pull/8228
Gutenberg PR: https://github.com/WordPress/gutenberg/pull/69057
Trac ticket: https://core.trac.wordpress.org/ticket/62908#ticket