Load Combined Core Block Assets

説明

This is a workaround for sites experiencing any issues with the ability introduced in WordPress 6.9 to load block styles on demand in classic themes. The known issues have been fixed during the 7.0 release cycle with the following commits:

  • r61076: Script Loader: Fall back to hoisting late-printed styles to end of HEAD if wp-block-library is not enqueued.
  • r61122: Script Loader: Load block styles on demand in classic themes even when wp-block-styles support is absent.
  • r61174: Script Loader: Improve hoisted stylesheet ordering (in classic themes) to preserve CSS cascade.
  • r61554: Script Loader: Preserve original CSS cascade for classic themes when hoisting late-printed styles.
  • r61945: Script Loader: Refine hoisted stylesheet ordering to preserve original CSS cascade in classic themes.

If running a classic theme (i.e. not a block theme), this plugin filters should_load_separate_core_block_assets to be false. This has the effect of reverting a change introduced in 6.9 where classic themes now load separate core block assets on demand by default.

Note that this plugin should be considered temporary until any issues are resolved in 7.0. At any time, you can test whether any issues remain by adding ?should_load_separate_core_block_assets=true to any frontend URL; this restores the default behavior in WP 6.9.

This workaround should be temporary because there are performance benefits to loading separate core block assets. They can be loaded on demand just when they are used, as opposed to loading the large single combined wp-block-library stylesheet. Loading separate block styles on demand reduces the amount of CSS which should improve page load time. Nevertheless, as explained in the dev note, some sites may be built in a way that fundamentally does not work with loading separate block styles on demand. For these sites, this plugin is available to retain the old behavior.

インストール

自動

  1. WordPress 管理画面でプラグイン > プラグインを追加に移動してください。
  2. Load Combined Core Block Assets を検索してください。
  3. Load Combined Core Block Assets をインストールして有効化してください。

Git Updater を使用して、プラグインの GitHub URL からインストールおよび更新することもできます。

マニュアル

  1. プラグインの ZIP ファイルは、 WordPress.org からまたは GitHub からダウンロードしてください。リポジトリのローカルクローンをお持ちの場合は、npm run plugin-zip コマンドを実行してください。
  2. WordPress 管理画面でプラグイン > プラグインを追加に移動してください。
  3. プラグインのアップロード をクリックしてください。
  4. ステップ 1 でダウンロードしたシステム上の load-combined-core-block-assets.zip ファイルを選択し、今すぐインストール をクリックしてください。
  5. プラグインを有効化ボタンをクリックしてください。

評価

2026年2月10日 2 replies
This workaround fixed the issue on my site, kudos to the developer. However, even after 6.9.1 the issue is not resolved without this plugin. Other users report the same, so now not sure how to get a permanent resolution. Surely, WordPress are aware of this?!
2026年2月6日
My website, which was broken due to WordPress 6.9, has now been restored. I’m very grateful to the author.
2025年12月15日
We built and maintain a hybrid classic/headless WordPress website for a national client. A number of our frontend components (CoreButton, CoreMediaText, etc.) tap into WordPress core editor classnames, props, and critically, CSS rulesets, to provide our client the flexibility they expect when editing blocks and posts.After updating to WordPress 6.9, these components failed to render as expected. Our investigation led us to the post on wordpress-6-9-hotfixes, and subsequently, this plugin. Thankfully, installing this plugin resolved the issue.Thanks to @westonruter for taking the time to publish this hot-fix.
2025年12月10日
This little plugin is a life saver for anyone running classic themes on WordPress 6.9+. In my case it instantly fixed broken layouts caused by the new “block styles on demand” system clashing with a 3rd party WooCommerce plugin on a Genesis site. If your front end suddenly looks off after updating to WordPress 6.9, install this first before you start tearing your frontend apart!
6件のレビューをすべて表示

貢献者と開発者

Load Combined Core Block Assets はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Load Combined Core Block Assets” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Load Combined Core Block Assets” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1.0

  • Add an inline admin notice in the plugin list table row on WordPress 7.0+ to encourage re-evaluating whether the plugin is still necessary.

1.0.0

  • HTML コメント内で翻訳済みメッセージをエスケープし、セキュリティを強化します。

0.1.0

  • 初回リリース。