[buddypress-trac] [BuddyPress Trac] #9309: Support for WordPress 6.9
buddypress-trac
noreply at wordpress.org
Sat Dec 27 03:26:28 UTC 2025
#9309: Support for WordPress 6.9
-------------------------+---------------------
Reporter: espellcaste | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 14.5.0
Component: Core | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+---------------------
Comment (by vapvarun):
Pushed the fix to a branch for review:
https://github.com/vapvarun/BuddyPress/tree/fix/ticket-9309-block-style-
hoisting-wp69
Did deeper analysis to confirm this single fix covers all BP pages. Found
64 screen functions across 57 files that all funnel through
`bp_core_load_template()`:
{{{
bp-members/screens/*.php ──┐
bp-activity/screens/*.php ──┼──→ bp_core_load_template() ← FIX HERE
bp-groups/screens/*.php ──┤
... (64 total) ──┘
}}}
The 9 other direct `load_template()` calls are either within the template
context (already inside the buffer) or AJAX handlers returning fragments
(no `<head>` to hoist to).
Also tested with TwentyTwentyFive and TwentyTwentyFour - hook fires
correctly. Backward compatible with pre-WP 6.9 (action fires but no
callbacks registered).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9309#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list