Admin Toolbar Menu Has New, Higher Priority Values

[[3. Resources/Readwise/Full Document Contents/Articles/Admin Toolbar Menu Has New, Higher Priority Values|Full Document Contents]]
## Document Notes
---
tags: #WordPressCore #WordPressDevelopers #Gutenberg #WordPressThemes #PluginDevelopment
Author: Birgit Pauli-Haack
Source: WordPress Developer Blog
Reference: [Whatโs New for Developers? (September 2024)](https://developer.wordpress.org)
date created: 2024-09-11 16:20
---
# Title: Whatโs New for Developers? (September 2024)
## Table of Contents:
- [[#๐ Summary:]]
- [[#๐ Main Content:]]
- [[#New API to Register Templates for Plugins]]
- [[#Customize Heading Levels]]
- [[#Border Support for 25 More Blocks]]
- [[#WordPress Playground Docs Restructured]]
- [[#Plugins and Tools]]
- [[#Themes]]
- [[#Other Notable Bug Fixes]]
- [[#๐๏ธ Notes:]]
- [[#๐ฃ๏ธ Paraphrase:]]
- [[#โ
Action Items:]]
- [[#โ Questions:]]
- [[#๐ฎ Future Research:]]
- [[#โ
Logical Validity:]]
- [[#๐ฏ Conclusion:]]
## ๐ Summary:
Birgit Pauli-Haack's post provides an overview of updates for WordPress developers in September 2024. It covers new features and fixes in WordPress 6.6.2, the upcoming 6.7 release, updates to Gutenberg, and improvements in plugins and themes. These include a new API for registering block templates, enhanced design options, bug fixes, and developer resources like restructured documentation for WordPress Playground. Thereโs also a call for contributors to the Learn WordPress plugin developer course.
## ๐ Main Content:
### New API to Register Templates for Plugins
- WordPress 6.7 introduces a new API allowing plugin developers to register templates for blocks.
- Templates are customizable by theme developers and site builders via the Site Editor.
- Plugin developers can unregister templates or create custom category templates.
- Example code: `wp_register_block_template()` enables registering a block template.
### Customize Heading Levels
- Gutenberg 19.0 includes the `levelOptions` block attribute to control available heading levels.
- Customization applies to Post Title, Query Title, Site Tagline, and other blocks using heading elements.
- This simplifies control over heading hierarchy in patterns and templates.
### Border Support for 25 More Blocks
- Added design support (borders) for 25 blocks in Gutenberg 19.0 and 19.1.
- Blocks such as Comments Form, Categories List, and Site Title now support borders.
- More design flexibility for developers and theme builders.
### WordPress Playground Docs Restructured
- Documentation for WordPress Playground has been reorganized into three sub-sites: Blueprints, Developer Docs, and API Reference.
- More guides will be added for specific use cases like building theme demos or plugin previews.
### Plugins and Tools
- **Unregistering Data Views actions**: Developers can unregister core actions (e.g., trashing or deleting posts).
- **Dynamic style overrides**: With `useStyleOverride`, developers can add styles to the canvas by blocks without needing a separate stylesheet.
- **Time input**: TimePicker now includes `TimeInput` for time selection without dates.
- **iPhone images auto-conversion**: HEIC images will be automatically converted to JPEG upon upload in WordPress 6.7.
### Themes
- **Get style variations from other themes**: The `get_style_variations_from_directory()` method allows developers to retrieve style variations from themes other than the active one.
- **Text-shadow for image captions**: Enhances readability of gallery image captions with a shadow effect.
- **Clearfix for Post Content block**: Fixes layout issues where blocks would misalign after Post Content.
### Other Notable Bug Fixes
- Fixed editor view for Tag Cloud block to match front-end view.
- Resolved CSS issues affecting pseudo-elements and styles in theme.json.
- Fixed spacing issues for classic themes in the block editor.
## ๐๏ธ Notes:
- WordPress 6.6.2 includes **15 Core fixes** and **11 Block Editor fixes**.
- **Call for contributors** for the Learn WordPress Plugin Developer course.
- **New API** in WordPress 6.7 streamlines template registration for plugins.
- **Gutenberg updates** include new design tools like border controls for 25 blocks.
- **WordPress Playground** documentation has been restructured to improve developer experience.
## ๐ฃ๏ธ Paraphrase:
1. **Original**: "The new API allows plugin developers to register block templates that can be customized by theme developers and site builders."
- **Paraphrase**: Plugin developers now have an API to register block templates, which theme developers and site builders can adjust for their designs.
2. **Original**: "With WordPress 6.7, HEIC images uploaded by iPhone users will automatically be converted to JPEG format to enhance browser compatibility."
- **Paraphrase**: WordPress 6.7 will automatically convert HEIC images from iPhones into JPEG format, improving their compatibility with browsers.
## ๐ฐ Newsletter:
๐ **What's New in WordPress Development?** ๐
The September 2024 update brings a lot of exciting new features for developers! WordPress 6.6.2 is here with 15 core fixes and 11 Block Editor improvements. Plus, there's an exciting new API that simplifies template registration for plugins in the upcoming WordPress 6.7. ๐
Weโve also got Gutenberg updates like new border support for 25 blocks, improvements to heading customization, and automatic HEIC to JPEG image conversion for iPhone users. Donโt miss out on the restructured WordPress Playground docs for easier navigation. ๐
Check out the full list of changes and improvements, and donโt forget to subscribe for the latest in WordPress development! ๐
## โ
Action Items:
- **Investigate** the new API for block template registration to streamline plugin development.
- **Explore** Gutenbergโs new design tools for enhanced block customization.
- **Plan ahead** for testing WordPress 6.7 updates, especially the new bug fixes and features like HEIC image conversion.
- **Contribute** to the Learn WordPress Plugin Developer course and impact the open-source community.
## โ Questions:
- How will the new template registration API affect plugin development workflows?
- What are the broader implications of automatically converting HEIC images to JPEG in WordPress?
- How can the WordPress community contribute to further improve design controls in Gutenberg?
## ๐ฎ Future Research:
- Explore ways to integrate the new **block template registration API** with popular plugins.
- Study the potential impact of **iPhone image conversion** on site performance and image quality.
- Analyze the long-term effects of **Gutenbergโs design tools** on theme development and customization.
## โ
Logical Validity:
- **Sound Deductive Reasoning**: The introduction of a new API for template registration logically improves plugin development efficiency by reducing redundant code. The argument is well-supported by practical examples and benefits.
- **Causal Reasoning**: The post argues that enhanced border control for blocks will give developers more design flexibility, and this claim is supported by evidence of the added design features in Gutenberg.
No major fallacies were detected in the post. The arguments were logical, backed by examples, and clearly presented.
## ๐ฏ Conclusion:
This developer update brings meaningful improvements to WordPress 6.6.2 and Gutenberg, particularly for plugin developers and theme builders. The new API for registering templates will streamline workflows, and additional design tools like border support for blocks will enhance flexibility. With WordPress 6.7 on the horizon, developers should start preparing for testing and take advantage of the latest tools and features.
> [!note]+ Document Notes
> tags: [WordPressCore, WordPressDevelopers, Gutenberg, WordPressThemes, PluginDevelopment]
> Author: Birgit Pauli-Haack
> Source: WordPress Developer Blog
> Reference: [Whatโs New for Developers? (September 2024)](https://developer.wordpress.org)
> date created: 2024-09-11 16:20
>
> # Title: Whatโs New for Developers? (September 2024)
>
<!-- deep-read:sections start -->
## Table of Contents:
- [๐ Summary](#-summary)
- [๐ Main Content](#-main-content)
- [New API to Register Templates for Plugins](#new-api-to-register-templates-for-plugins)
- [Customize Heading Levels](#customize-heading-levels)
- [Border Support for 25 More Blocks](#border-support-for-25-more-blocks)
- [WordPress Playground Docs Restructured](#wordpress-playground-docs-restructured)
- [Plugins and Tools](#plugins-and-tools)
- [Themes](#themes)
- [Other Notable Bug Fixes](#other-notable-bug-fixes)
- [๐๏ธ Notes](#-notes)
- [๐ฃ๏ธ Paraphrase](#-paraphrase)
- [โ
Action Items](#-action-items)
- [โ Questions](#-questions)
- [๐ฎ Future Research](#-future-research)
- [โ
Logical Validity](#-logical-validity)
- [๐ฏ Conclusion](#-conclusion)
## ๐ Summary:
Birgit Pauli-Haack's post provides an overview of updates for WordPress developers in September 2024. It covers new features and fixes in WordPress 6.6.2, the upcoming 6.7 release, updates to Gutenberg, and improvements in plugins and themes. These include a new API for registering block templates, enhanced design options, bug fixes, and developer resources like restructured documentation for WordPress Playground. Thereโs also a call for contributors to the Learn WordPress plugin developer course.
## ๐ Main Content:
### New API to Register Templates for Plugins
- WordPress 6.7 introduces a new API allowing plugin developers to register templates for blocks.
- Templates are customizable by theme developers and site builders via the Site Editor.
- Plugin developers can unregister templates or create custom category templates.
- Example code: `wp_register_block_template()` enables registering a block template.
### Customize Heading Levels
- Gutenberg 19.0 includes the `levelOptions` block attribute to control available heading levels.
- Customization applies to Post Title, Query Title, Site Tagline, and other blocks using heading elements.
- This simplifies control over heading hierarchy in patterns and templates.
### Border Support for 25 More Blocks
- Added design support (borders) for 25 blocks in Gutenberg 19.0 and 19.1.
- Blocks such as Comments Form, Categories List, and Site Title now support borders.
- More design flexibility for developers and theme builders.
### WordPress Playground Docs Restructured
- Documentation for WordPress Playground has been reorganized into three sub-sites: Blueprints, Developer Docs, and API Reference.
- More guides will be added for specific use cases like building theme demos or plugin previews.
### Plugins and Tools
- **Unregistering Data Views actions**: Developers can unregister core actions (e.g., trashing or deleting posts).
- **Dynamic style overrides**: With `useStyleOverride`, developers can add styles to the canvas by blocks without needing a separate stylesheet.
- **Time input**: TimePicker now includes `TimeInput` for time selection without dates.
- **iPhone images auto-conversion**: HEIC images will be automatically converted to JPEG upon upload in WordPress 6.7.
### Themes
- **Get style variations from other themes**: The `get_style_variations_from_directory()` method allows developers to retrieve style variations from themes other than the active one.
- **Text-shadow for image captions**: Enhances readability of gallery image captions with a shadow effect.
- **Clearfix for Post Content block**: Fixes layout issues where blocks would misalign after Post Content.
### Other Notable Bug Fixes
- Fixed editor view for Tag Cloud block to match front-end view.
- Resolved CSS issues affecting pseudo-elements and styles in theme.json.
- Fixed spacing issues for classic themes in the block editor.
## ๐๏ธ Notes:
- WordPress 6.6.2 includes **15 Core fixes** and **11 Block Editor fixes**.
- **Call for contributors** for the Learn WordPress Plugin Developer course.
- **New API** in WordPress 6.7 streamlines template registration for plugins.
- **Gutenberg updates** include new design tools like border controls for 25 blocks.
- **WordPress Playground** documentation has been restructured to improve developer experience.
## ๐ฃ๏ธ Paraphrase:
1. **Original**: "The new API allows plugin developers to register block templates that can be customized by theme developers and site builders."
- **Paraphrase**: Plugin developers now have an API to register block templates, which theme developers and site builders can adjust for their designs.
2. **Original**: "With WordPress 6.7, HEIC images uploaded by iPhone users will automatically be converted to JPEG format to enhance browser compatibility."
- **Paraphrase**: WordPress 6.7 will automatically convert HEIC images from iPhones into JPEG format, improving their compatibility with browsers.
## ๐ฐ Newsletter:
๐ **What's New in WordPress Development?** ๐
The September 2024 update brings a lot of exciting new features for developers! WordPress 6.6.2 is here with 15 core fixes and 11 Block Editor improvements. Plus, there's an exciting new API that simplifies template registration for plugins in the upcoming WordPress 6.7. ๐
Weโve also got Gutenberg updates like new border support for 25 blocks, improvements to heading customization, and automatic HEIC to JPEG image conversion for iPhone users. Donโt miss out on the restructured WordPress Playground docs for easier navigation. ๐
Check out the full list of changes and improvements, and donโt forget to subscribe for the latest in WordPress development! ๐
## โ
Action Items:
- **Investigate** the new API for block template registration to streamline plugin development.
- **Explore** Gutenbergโs new design tools for enhanced block customization.
- **Plan ahead** for testing WordPress 6.7 updates, especially the new bug fixes and features like HEIC image conversion.
- **Contribute** to the Learn WordPress Plugin Developer course and impact the open-source community.
## โ Questions:
- How will the new template registration API affect plugin development workflows?
- What are the broader implications of automatically converting HEIC images to JPEG in WordPress?
- How can the WordPress community contribute to further improve design controls in Gutenberg?
## ๐ฎ Future Research:
- Explore ways to integrate the new **block template registration API** with popular plugins.
- Study the potential impact of **iPhone image conversion** on site performance and image quality.
- Analyze the long-term effects of **Gutenbergโs design tools** on theme development and customization.
## โ
Logical Validity:
- **Sound Deductive Reasoning**: The introduction of a new API for template registration logically improves plugin development efficiency by reducing redundant code. The argument is well-supported by practical examples and benefits.
- **Causal Reasoning**: The post argues that enhanced border control for blocks will give developers more design flexibility, and this claim is supported by evidence of the added design features in Gutenberg.
No major fallacies were detected in the post. The arguments were logical, backed by examples, and clearly presented.
## ๐ฏ Conclusion:
This developer update brings meaningful improvements to WordPress 6.6.2 and Gutenberg, particularly for plugin developers and theme builders. The new API for registering templates will streamline workflows, and additional design tools like border support for blocks will enhance flexibility. With WordPress 6.7 on the horizon, developers should start preparing for testing and take advantage of the latest tools and features.
<!-- deep-read:sections end -->
## Highlights
- In WordPress 6.6, the [Search form moved to a high priority](https://make.wordpress.org/core/2024/06/25/miscellaneous-developer-changes-in-wordpress-6-6/#toolbar) to position it at the end of the menu without using the CSS `float` property. Then WordPress 6.6.1 moved the User Profile menu and Recovery Mode to a high priority to keep them near the Search form. ([View Highlight](https://read.readwise.io/read/01j7gwf6fk973dfeag6d1q11sk))