[wp-trac] [WordPress Trac] #64390: get_adjacent_post() SQL changes can loop infinitely in Storefront/derivative theme code
WordPress Trac
noreply at wordpress.org
Fri Dec 12 01:03:14 UTC 2025
#64390: get_adjacent_post() SQL changes can loop infinitely in
Storefront/derivative theme code
-------------------------------+------------------------------------
Reporter: jmdodd | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9.1
Component: Posts, Post Types | Version: 6.9
Severity: normal | Resolution:
Keywords: close 2nd-opinion | Focuses: template, performance
-------------------------------+------------------------------------
Comment (by ramonopoly):
> move the changes after the filters. But instead of tweaking the prepared
SQL, check to see if a plugin has changed the defaults and leave it alone
This sounds very reasonable, I'm grateful for the input.
I can get a patch up to demonstrate this for folks' consideration.
> That of course can be mitigated by (loudly) telling plugins authors
about it :)
I've definitely made note of this for future reference 😂
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64390#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list