Repository navigation
WordPress 6.9: load block styles on demand in classic themes - #430
Closed
renatonascalves wants to merge 2 commits into
Closed
renatonascalves wants to merge 2 commits into
renatonascalves wants to merge 2 commits into
Conversation
dcavins
pushed a commit
to dcavins/buddypress-wp-svn
that referenced
this pull request
Jan 26, 2026
WordPress 6.9 introduced the `wp_before_include_template` hook as part of `template-loader.php` template to enable output buffering for block style hoisting. Since BuddyPress bypasses `template-loader.php` when loading templates, we need to integrate this optimization, by hooking it directly. Props vapvarun. Closes buddypress/buddypress#430 Fixes #9309 (trunk) git-svn-id: http://buddypress.svn.wordpress.org/trunk@14189 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
dcavins
pushed a commit
to dcavins/buddypress-wp-svn
that referenced
this pull request
Jan 26, 2026
WordPress 6.9 introduced the `wp_before_include_template` hook as part of `template-loader.php` template to enable output buffering for block style hoisting. Since BuddyPress bypasses `template-loader.php` when loading templates, we need to integrate this optimization, by hooking it directly. Developed in buddypress/buddypress#430 Props vapvarun. See #9309 (14.0) git-svn-id: http://buddypress.svn.wordpress.org/branches/14.0@14188 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
boonebgorges
pushed a commit
that referenced
this pull request
Jan 26, 2026
WordPress 6.9 introduced the `wp_before_include_template` hook as part of `template-loader.php` template to enable output buffering for block style hoisting. Since BuddyPress bypasses `template-loader.php` when loading templates, we need to integrate this optimization, by hooking it directly. Developed in #430 Props vapvarun. See #9309 (14.0) git-svn-id: https://buddypress.svn.wordpress.org/branches/14.0@14188 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9309
This Pull Request is for code review only. Please keep all other discussion in the BuddyPress Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the WordPress Core Handbook for more details.