WordPress releases a Field Guide for 6.2

A field guide for WordPress 6.2 has been released, I take a look at some of the changes listed in the upcoming release.

The WordPress logo with gears attached

The WordPress 6.2 release is around the corner, and I have been very excited about its release.  I wrote recently about how the 6.2 beta needed testers. On March 9th, 2023, WordPress contributor Milana Cap released a field guide to help developers with more in-depth changes that are happening. In this article, I’ll cover some of the interesting ones from the WordPress 6.2 Field Guide.

Block Editor:

Love it or hate it, the block editor is here to stay! Rolling into 6.2 are ten Gutenberg releases: 14.214.3, 14.414.514.614.714.814.915.015.1 that include:

Bundled Themes

Due to privacy concerns, WordPress is replacing Google Fonts with locally bundled fonts in themes. Each theme will serve a new stylesheet from the theme directory from Twenty Twelve to Twenty Seventeen. Child themes that have already edited or removed the font stylesheet may need to verify that their site will work properly with this change. Child themes can also include a different set of fonts and their own stylesheet. Developers need to adjust the new font stylesheet URL for the block editor and consider special considerations for Classic Editor.

Posts, Post types

This is one I was working on just a few weeks ago. The get_page_by_title() function has been deprecated in WordPress 6.2 and WP_Query is recommended instead as it provides consistent results across different server setups. To achieve an equivalent database query, developers can use the arguments provided in the WP_Query code snippet. Additionally, the same result can also be achieved via the get_posts() wrapper for WP_Query(). However, due to the database query used by get_page_by_title(), the result returned from the database might not be intended to be accessible by the user, leading to a File Not Found error. Developers can avoid this edge by leaving the post_status parameter out of the code.

Milana goes into more detail in her field guide, but these are the more interesting ones I wanted to highlight. Please take a look at her guide in order to see all of the changes. Along with associated articles that detail them further, there is a breakdown of who handled what. I am ready to see the changes 6.2 brings. 

Author Profile Image

Nyasha is the Editorial Director at MasterWP and a software developer at Howard Development & Consulting, the company behind WP Wallet.

Subscribe & Share

If you liked this article, join the conversation on Twitter and subscribe to our free weekly newsletter for more 🙂

MasterWP contains no affiliate links. We’re entirely funded by the sponsors highlighted on each article. In addition to MasterWP, we own EveryAlt, WP Wallet, Understrap and Howard Development & Consulting.

Latest Posts