WordPress 6.3 to Introduce a Development Mode

As the dev notes for the upcoming WordPress 6.3 release are rolling out, there are so many exciting features that have not yet been highlighted. The new development mode, initiated by declaring the WP_DEVELOPMENT_MODE constant, is one that will be particularly useful for theme developers initially.

“The development mode configured on a site defines the kind of development work that the site is being used for,” Google-sponsored WordPress Core Committer Felix Arntz said. This mode is not recommended for production sites.

The possible values for the WP_DEVELOPMENT_MODE constant include core, plugin, theme, all, or an empty string (which is the default). The “all” value is applicable to sites where all three aspects may be modified, such as a client website in progress.

“There are currently only a few use-cases in WordPress core which are determined by the development mode, but this will likely increase in the future,” Arntz said. “Most usage today relates to theme.json caching.”

Since the cache is usually only invalidated when the theme is updated, it can become cumbersome to developers who are actively modifying theme.json and have to manually invalidate it to see their changes. This caching functionality is bypassed when the value is set to “theme.”

Although the WP_ENVIRONMENT_TYPE constant seems similar to the new developer mode, it specifically denotes whether the environment is development, staging, or production but does not specify what type of development is being done.

“It is likely that you will only use the WP_DEVELOPMENT_MODE constant on a site where WP_DEBUG is enabled and WP_ENVIRONMENT_TYPE is either ‘development’ or ‘local,’ since it is not advised for development to occur directly against staging or production environments,” Arntz said.

For more details on when and how to use Developer Mode, and code samples for checking if development mode is active on a site, developers can refer to the dev note published to the make.wordpress.org/core blog.


5 responses to “WordPress 6.3 to Introduce a Development Mode”

  1. I’m quite excited about the next WordPress 6.3 version, which will include a development mode. This update will simplify the development and tweaking of websites. However, in order to fully utilize this functionality and maximize website performance, it is prudent to obtain assistance from reputable bigcommerce seo companies. They can assist you in implementing best practices for SEO and ensuring your site flourishes in the competitive online landscape. There will be exciting days ahead!

  2. WordPress 6.3’s upcoming development mode is a game-changer! As a developer, I can’t wait to experience the improved debugging process and faster development workflow. This feature will undoubtedly enhance our efficiency and make building websites a breeze. Kudos to the WordPress team for the innovation and continuous improvement!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: