Synced Pattern Overrides Broken, Font Library Fixed as WordPress 6.5 Nears Release – WP Tavern

WordPress 64 Font Library Feature Punted to 65 Release –

As the WordPress 6.5 release date approaches, contributors are scrambling to complete work on several outstanding issues and bug fixes. Two of the most prominent features, Synced Pattern Overrides and Font Library, have been mired in critical debate until today, when CEO Josepha Hayden weighed in on Chomphos with an official response and a way forward.

The font library is ready for axis

When there was talk on the Make WordPress Slack last week that the Font Library might not be ready for 6.5, there was a sense of déjà vu. The font library was already included in the last few major releases as the team works to make sure the feature is fully futureproofed. Fortunately, the resolution of 6.5 is that the Font Library will ship as core.

A few related questions were brought up, but the conversation mostly focused on where to store fonts for your WordPress site. The font library includes a new directory wp-content/fonts, at the same level as plugins, themes, etc. Since fonts are uploaded by users and retrieved as resources, some contributors felt that they should live in the wp-content/uploads directory where other uploads and media are placed, and that their architecture should be closer to WordPress plugins. :

On the one hand, it is a bit of a philosophical debate. Are fonts just “uploading” or are they more fundamental to how we build websites?

“A big motivation behind the Font Library is to introduce fonts as a first-class object in WordPress, stored, described, and managed in a way that allows us to convey this distinct character alongside other objects,” explained Principal Architect Matias Ventura. The latest release on GitHub. “So this is fundamentally an architectural decision that we're making, and not a purely convenience decision to place fonts as a concept alongside themes, plugins, languages, and media uploads in wp-content.”

READ  Some WP Form Plugins Make Accessibility Easy – WP Tavern

Supporters, including representatives from hosting companies, were concerned that this would lead to retroactive file system security effects and some more complex handling scenarios where assets such as images and fonts are stored and distributed separately. Some hosts may even need to modify their architecture to handle this new directory structure. Fortunately, a filter to change the font location has been included and iterated so that hosts can ignore the directory location and have more time to consider their approach.

As a result, users can look forward to the shipping of the Fonts Library in WordPress 6.5, and future work will be done to test the output, more content for missing features, and discuss the possible implications of adding this new directory.

Synchronized pattern overrides are removed

Formerly called “partially synced patterns” and related to the larger concept of WordPress Core's Block Bindings API, Synced Pattern Overrides are not as easily defined as the Font Library. For the site's builders, however, the concept was a bit of a holy grail. So it's a lot of frustration mixed with the understanding that the feature won't be shipping in WordPress 6.5.

“Synchronized Patterns” in WordPress (formerly “reusable blocks”) allow users to create block patterns in which any changes are automatically reflected anywhere the pattern is used on your site. Synchronized pattern Ignores introduced the next evolution of this feature, where you can “lock” your pattern design, but allow users to update some content, such as text or an image, on each pattern instance.

Concern was raised about how Synced Patterns define their ability to have these “overrides”, both in the underlying structure and how the feature is displayed in the user interface. This type of “undoing” is considered fundamental to many of the future purposes of the block editor, so it's important to get it right.

READ  Hacked WordPress sites abuse visitors' browsers for distributed brute force attacks

“Next, I'd like to point out that the feature isn't just about making the user 'delete things,'” explained Riad Benghella, a sponsored contributor at Automattic and technical lead editor for the current issue. “Although that's the immediate use case, we need to think about it more holistically, which is about content separation and pattern representation. It's about providing a pattern scheme.”

That separation of content and presentation is a big problem for developers trying to build maintainable sites using the Block Editor.

“My main concern is that this is not a decision we can put off lightly,” says 10up-backed Fabian Cagi. He reiterated the importance of getting the feature right in Gutenberg before merging it into WordPress core, stressing that “the Gutenberg plugin is designed to be a playground for feature growth/iteration before it goes mainstream.”

So while the architecture behind the Block Bindings API will still ship with WordPress 6.5, one of its first visible implementations, Synced Pattern Overrides, will not.

The release cycle continues

Both of these last-mile issues highlighted the unique challenges we face when some of these big new WordPress features are built inside the Gutenberg plugin rather than a separate feature plugin. The trade-offs of this approach to feature development were one of the main issues discussed at last week's Hallway Hangout.

Meanwhile, contributors are scrambling to finish work or document changes on many of the less important issues that were also discovered in the beta releases, including updates to how HTML is parsed in code blocks and issues to make the block editor more accessible. .

READ  It's time to ditch WordPress. 5 reasons to be headless in 2024

When the first release candidate for WordPress 6.5 went live on Tuesday, the cycle went into a “wire freeze” so that translators could begin their work. The 6.5 Field Guide, Dev Notes, and Make Core announcements are all in preparation for release. And all of this work is set against the backdrop of the flagship WordCamp Asia conference currently underway in Taipei, featuring much of the project's leadership and core team.

WordPress 6.5, scheduled for March 26, 2024, is shaping up to be quite an eventful release, and features like the Font Library, Plugin Dependencies, and the Interactivity API have many in the community excited about what's to come.

Leave a Reply

Your email address will not be published. Required fields are marked *