[wp-trac] [WordPress Trac] #64390: get_adjacent_post() SQL changes can loop infinitely in Storefront/derivative theme code
WordPress Trac
noreply at wordpress.org
Tue Jan 20 23:07:38 UTC 2026
#64390: get_adjacent_post() SQL changes can loop infinitely in
Storefront/derivative theme code
-----------------------------------------+---------------------------------
Reporter: jmdodd | Owner: peterwilsoncc
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.9.1
Component: Posts, Post Types | Version: 6.9
Severity: normal | Resolution:
Keywords: has-patch changes-requested | Focuses: template,
| performance
-----------------------------------------+---------------------------------
Comment (by jorbin):
I worry that this proposed patch essentially forcec fixing #8107 onto
sites that filter `get_{$adjacent}_post_where` since that could be
unexpected especially in light of this not being a widespread reported
issue.
As of today, https://make.wordpress.org/core/2025/12/10/adjacent-post-
navigation-changes-in-wordpress-6-9-and-compatibility-issues/ has not had
any comments, the two mentioned in
https://github.com/woocommerce/woocommerce/issues/62233 have been updated,
and
https://www.reddit.com/r/Wordpress/comments/1pd35y4/wordpress_69_is_causing_permanent_100_cpu_usage/
hasn't had any new comments in a month.
@jmdodd - Do you have any idea how prevelent this issue is on your
platform? Is it only people using outdated themes at this point?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64390#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list