Skip to content

WordPress 6.9: load block styles on demand in classic themes - #430

Closed
renatonascalves wants to merge 2 commits into
masterfrom
feature/9309
Closed

renatonascalves wants to merge 2 commits into
masterfrom
feature/9309

Conversation

@renatonascalves

Copy link
Copy Markdown
Member

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.

@renatonascalves
renatonascalves deleted the feature/9309 branch December 30, 2025 19:31
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant