From b4da519bd1c44d8b22f697d1427ec79be519da3a Mon Sep 17 00:00:00 2001 From: joedolson Date: Mon, 23 Feb 2026 20:38:16 +0000 Subject: [PATCH] Twenty Twenty Five: Exclude sticky posts with query offsets. Fix templates in Twenty Twenty Five that have multiple query posts with offsets to prevent displaying sticky posts. Sticky posts being enabled on multiple queries results in repeated content in each query. Add `"sticky":"ignore"` to query block parameters. Props poena, sabernhardt, abcd95, rinkalpagdar, freibergergarcia, akshat2802, mindctrl, ozgursar, joedolson. Fixes #62975. Built from https://develop.svn.wordpress.org/trunk@61720 git-svn-id: http://core.svn.wordpress.org/trunk@61028 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../patterns/page-portfolio-home.php | 12 ++++++------ .../patterns/template-home-news-blog.php | 14 +++++++------- .../template-home-posts-grid-news-blog.php | 10 +++++----- .../template-home-with-sidebar-news-blog.php | 4 ++-- wp-includes/version.php | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php b/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php index 7a2a5b3f11..4dfb2823fc 100644 --- a/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php +++ b/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php @@ -49,7 +49,7 @@
- +
@@ -71,7 +71,7 @@
- +
@@ -105,7 +105,7 @@ - +
@@ -138,7 +138,7 @@
- +
@@ -160,7 +160,7 @@
- +
@@ -187,7 +187,7 @@ - +
diff --git a/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php b/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php index 7dea528fa3..d8aa557cee 100644 --- a/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php +++ b/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php @@ -24,7 +24,7 @@
- +
@@ -42,7 +42,7 @@
- +
@@ -61,7 +61,7 @@
- +
@@ -81,7 +81,7 @@
- +
@@ -94,7 +94,7 @@
- +
@@ -118,7 +118,7 @@
- +
@@ -136,7 +136,7 @@
- +
diff --git a/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php b/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php index 167f0a0470..a9b286e650 100644 --- a/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php +++ b/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php @@ -18,7 +18,7 @@
- +
@@ -44,7 +44,7 @@
- +
@@ -62,7 +62,7 @@
- +
@@ -87,7 +87,7 @@
- +
@@ -113,7 +113,7 @@

- +
diff --git a/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php b/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php index ee6732278e..80af4eda26 100644 --- a/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php +++ b/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php @@ -20,7 +20,7 @@
- +
@@ -71,7 +71,7 @@ - +
diff --git a/wp-includes/version.php b/wp-includes/version.php index 110ae12dd5..044ca6794e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-beta1-61719'; +$wp_version = '7.0-beta1-61720'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.