Tech Roundup Week Ending July 21

WordPress 6.3 to Introduce a Development Mode

  • WordPress 6.3 will introduce a new development mode.
  • This mode can be initiated by declaring the WP_DEVELOPMENT_MODE constant.
  • It is not recommended for production sites.
  • Possible values for WP_DEVELOPMENT_MODE include core, plugin, theme, all, or an empty string.
  • “All” applies to sites where all three aspects may be modified.
  • Development mode can be helpful for theme developers, especially for modifying theme.json caching.
  • The WP_ENVIRONMENT_TYPE constant denotes whether the environment is development, staging, or production but does not specify what type of development is being done.
  • It is advised only to use WP_DEVELOPMENT_MODE on a site with WP_DEBUG enabled and WP_ENVIRONMENT_TYPE set to “development” or “local” 
  • For more details and code samples, developers can refer to the dev note on the make.wordpress.org/core blog

Other Links:

This article was published at Post Status — the community for WordPress professionals.

Leave a Reply

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

Leave a comment

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