# WordPress 6.5 関連メモ ###### tags: `技術情報` ■ 6.5 Field guide https://make.wordpress.org/core/2024/03/15/wordpress-6-5-field-guide/ ■ 6.5 dev-note https://make.wordpress.org/core/tag/dev-notes-6-5/ * 【済】 Principal Changes - 【済】 Minimum System Requirement 動作最低バージョンの変更 - 【済】 Block Editor * https://make.wordpress.org/core/2024/02/29/performance-improvements-for-registering-block-variations-with-callbacks/ バリエーション使ってるものでも現状特に不具合など発生なし * New Features - Block Editor - Interactivity API in 6.5 https://make.wordpress.org/core/2024/03/04/interactivity-api-dev-note/ - Font Library https://make.wordpress.org/core/2024/03/14/new-feature-font-library/ - 【済】 Block Bindings API https://make.wordpress.org/core/2024/03/06/new-feature-the-block-bindings-api/ → コードビューでメタ情報によってカスタムフィールドの値が表示できる 現状ベクトル的にはダイナミックブロックがあるので特に問題なし - Block metadata viewScriptModule field in 6.5 https://make.wordpress.org/core/2024/03/04/block-metadata-viewscriptmodule-field-in-6-5/ - Updates to Block Hooks in 6.5 https://make.wordpress.org/core/2024/03/04/updates-to-block-hooks-in-6-5/ https://developer.wordpress.org/news/2024/03/25/exploring-the-block-hooks-api-in-wordpress-6-5/ - 【済】 Unification of the site and post editors in 6.5 https://make.wordpress.org/core/2024/03/05/unification-of-the-site-and-post-editors-in-6-5/ → 現状あんまり関係ないっぽい - 【済】 Miscellaneous Editor changes in WordPress 6.5 https://make.wordpress.org/core/2024/03/09/miscellaneous-editor-changes-in-wordpress-6-5/ * 【済】 New Block Supports グループブロックの背景画像など設定できる項目が増えた * 【済】 Footnotes support for Custom Post Types カスタム投稿タイプで脚注ブロック使える(REST API などいくつか条件あり) * 【済】 DependencyExtractionWebpackPlugin: Drop webpack4 and node<18 * 【済】 Enable Block Renaming support for (almost) all blocks * 【済】 Stabilization of the block editor’s RecursionProvider API テンプレAがBを読み込んででもBがAを読み込んでみたいな処理の安定対応 * 【済】 Support for new allowedBlocks field in block.json * 【済】 Add new selectors to fetch entity revisions * 【済】 New useSettings hook for reading block instance settings * 【済】 Introduction of the PluginPostExcerpt Slot Component * 【済】 Changes to the underlying Composite component implementation * 【済】 Deprecated components * 【済】 Setting to disable custom content size controls - 【済】 HTML API -> WP_HTML_Tag_Processorの拡張 ぶっちゃけ使い所がよくわからん https://make.wordpress.org/core/2024/03/04/updates-to-the-html-api-in-6-5/ - 【済】 I18N -> 対応済み https://make.wordpress.org/core/2024/02/27/i18n-improvements-6-5-performant-translations/ - 【済】 Media AVIF 使えるようになったで。でもサーバー側で使えなかったり... - WordPress 6.5 adds AVIF support https://make.wordpress.org/core/2024/02/23/wordpress-6-5-adds-avif-support/ - ★ Script Loader(インタラクティブAPI関連) - 【済】 Upgrade/Install プラグインの依存指定 https://make.wordpress.org/core/2024/03/05/introducing-plugin-dependencies-in-wordpress-6-5/ * Additional Changes - 【済】 External Libraries - 【済】 Miscellaneous Developer Changes なんとなく https://make.wordpress.org/core/2024/03/08/miscellaneous-developer-changes-in-wordpress-6-5/ * 【済】 Other Updates - 【済】 Themes - 【済】 WordPress6.5では、ブロックテーマ theme.json で有効にできてた AppearanceTools(外観ツール) が クラシックテーマ でも有効にできるようになるぞ。 add_theme_support( 'appearance-tools' ); https://core.trac.wordpress.org/ticket/60118 -> theme.json 有効モードやブロックテーマならそもそも使えるし、既存テーマに適用するとレイアウト崩れの元になるので対応しない - 【済】 Media プログレッシブJPEGは、画像が段階的に詳細になっていく形式で、特にインターネット速度が遅い環境でのユーザー体験を向上させることができます。この「image_save_progressive」フィルターを利用することで、開発者はサイトのニーズに応じて、中間画像サイズをプログレッシブ形式で保存するかどうかを選択できるようになります。これは、特に大きな画像を多用するウェブサイトや、パフォーマンスの最適化を図りたいウェブサイトにとって有益な機能です。 - 【するー】 Permalinks - 【するー】 Rest API - 【済】 Site Health → マルチサイトのサイトヘルス関連 - 【済】 Upgrade/Install → テーマのアップデートでも必須WordPressバージョンが効くようになった (今までプラグインしか効いてなかった) * 【済】 New/Modified Hooks → まぁ必要な時にたどりつくやろ - New Filter Hooks 【済】 WordPress 6.5では一般設定でサイト アイコンが設定できるようになる。 https://core.trac.wordpress.org/changeset/57602 ■ 目玉 : パターンオーバーライド ■ 目玉 : カスタムフィールド API * Block Bindings API ■ Interactivity API ページを切り替えてもリロードが発生しない デモページで動画を再生しても、右下で開いて、ページを遷移しても残ったまま。 --- Gutenberg 16.8 - 17.7 くらい 16.8: https://make.wordpress.org/core/2023/10/11/whats-new-in-gutenberg-16-8-11-october/ 16.9: https://make.wordpress.org/core/2023/10/25/whats-new-in-gutenberg-16-9-25-october-2/ 17.0: https://make.wordpress.org/core/2023/11/10/whats-new-in-gutenberg-17-0-9-november/ 17.1: https://make.wordpress.org/core/2023/11/22/whats-new-in-gutenberg-17-1-22-november/ 17.2: https://make.wordpress.org/core/2023/12/06/whats-new-in-gutenberg-17-2-6-december/ 17.3: https://make.wordpress.org/core/2023/12/20/whats-new-in-gutenberg-17-3-20-december/ 17.4: https://make.wordpress.org/core/2024/01/04/whats-new-in-gutenberg-17-4-03-january/ 17.5: https://make.wordpress.org/core/2024/01/17/whats-new-in-gutenberg-17-5-17-january-2024/ 17.6: https://make.wordpress.org/core/2024/01/31/whats-new-in-gutenberg-17-6-31-january/ 17.7: https://make.wordpress.org/core/2024/02/14/whats-new-in-gutenberg-17-7-14th-february/ --- ## Gutenberg 16.8 https://github.com/WordPress/gutenberg/releases/tag/v16.8.0 ボタンブロックで nofollow 指定ができるようになった https://github.com/WordPress/gutenberg/pull/54110 記事編集画面でテンプレートが適用できるようになる(ブロックテーマのみ) https://github.com/WordPress/gutenberg/pull/52674 ## Gutenberg 16.9 エディターから (ほぼ) すべてのブロックの名前を変更できるようになる https://github.com/WordPress/gutenberg/pull/54426 ユーザーインターフェイスから直接パターンカテゴリの名前を変更したり削除できたりする https://github.com/WordPress/gutenberg/pull/55035 ## Gutenberg 17.0 ⌘k コマンド パレット:サイトエディター内でパターンを編集すると、パターンの名前変更や削除などパターン関連のコマンドが提案される