WordPress 6.3 will introduce a Development Mode - šŸ† Managed Server

BLOG

July 15 2023

WordPress 6.3 will introduce a Development Mode

Introducing WP_DEVELOPMENT_MODE, the new development mode in WordPress 6.3

WP_DEVELOPMENT_MODE

With the release of the Dev Notes for the upcoming WordPress 6.3 release, there are many exciting features that have not yet been highlighted. The new development mode, activated by declaring the WP_DEVELOPMENT_MODE constant, will initially be especially useful for theme developers.

"The development mode configured on a site defines the type of development work the site is used forsaid Felix Arntz, a lead developer of Google-sponsored WordPress. This mode is not recommended for production sites.

Possible values ā€‹ā€‹for the WP_DEVELOPMENT_MODE constant include ā€œcoreā€, ā€œpluginā€, ā€œthemeā€, ā€œallā€, or an empty string (which is the default value). The value "all" is applicable to sites where all three aspects could be changed, such as a client website under construction.

There are currently only a few use cases in WordPress Core that are determined by how you are developing, but that is likely to increase in the future. Most usage today is for theme.json cache

Arntz said.

Since the cache is typically only invalidated when the theme is updated, it can become burdensome for developers who are actively editing the theme.json file and have to manually invalidate it to see their changes. This caching functionality is bypassed when the value is set to "theme".

While the WP_ENVIRONMENT_TYPE constant looks similar to the new development mode, it specifically indicates whether the environment is development, staging, or production, but it doesn't specify what kind 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 'development' or 'local', as it is not recommended to develop directly against staging or production environments

Arntz pointed out.

For more details on when and how to use Developer Mode, and for code examples to check if development mode is enabled on a site, developers can refer to the developer note posted on the blog make.wordpress.org/core.

Do you have doubts? Don't know where to start? Contact us!

We have all the answers to your questions to help you make the right choice.

Chat with us

Chat directly with our presales support.

0256569681

Contact us by phone during office hours 9:30 - 19:30

Contact us online

Open a request directly in the contact area.

INFORMATION

Managed Server Srl is a leading Italian player in providing advanced GNU/Linux system solutions oriented towards high performance. With a low-cost and predictable subscription model, we ensure that our customers have access to advanced technologies in hosting, dedicated servers and cloud services. In addition to this, we offer systems consultancy on Linux systems and specialized maintenance in DBMS, IT Security, Cloud and much more. We stand out for our expertise in hosting leading Open Source CMS such as WordPress, WooCommerce, Drupal, Prestashop, Joomla, OpenCart and Magento, supported by a high-level support and consultancy service suitable for Public Administration, SMEs and any size.

Red Hat, Inc. owns the rights to Red HatĀ®, RHELĀ®, RedHat LinuxĀ®, and CentOSĀ®; AlmaLinuxā„¢ is a trademark of AlmaLinux OS Foundation; Rocky LinuxĀ® is a registered trademark of the Rocky Linux Foundation; SUSEĀ® is a registered trademark of SUSE LLC; Canonical Ltd. owns the rights to UbuntuĀ®; Software in the Public Interest, Inc. holds the rights to DebianĀ®; Linus Torvalds holds the rights to LinuxĀ®; FreeBSDĀ® is a registered trademark of The FreeBSD Foundation; NetBSDĀ® is a registered trademark of The NetBSD Foundation; OpenBSDĀ® is a registered trademark of Theo de Raadt. Oracle Corporation owns the rights to OracleĀ®, MySQLĀ®, and MyRocksĀ®; PerconaĀ® is a registered trademark of Percona LLC; MariaDBĀ® is a registered trademark of MariaDB Corporation Ab; REDISĀ® is a registered trademark of Redis Labs Ltd. F5 Networks, Inc. owns the rights to NGINXĀ® and NGINX PlusĀ®; VarnishĀ® is a registered trademark of Varnish Software AB. Adobe Inc. holds the rights to MagentoĀ®; PrestaShopĀ® is a registered trademark of PrestaShop SA; OpenCartĀ® is a registered trademark of OpenCart Limited. Automattic Inc. owns the rights to WordPressĀ®, WooCommerceĀ®, and JetPackĀ®; Open Source Matters, Inc. owns the rights to JoomlaĀ®; Dries Buytaert holds the rights to DrupalĀ®. Amazon Web Services, Inc. holds the rights to AWSĀ®; Google LLC holds the rights to Google Cloudā„¢ and Chromeā„¢; Microsoft Corporation holds the rights to MicrosoftĀ®, AzureĀ®, and Internet ExplorerĀ®; Mozilla Foundation owns the rights to FirefoxĀ®. ApacheĀ® is a registered trademark of The Apache Software Foundation; PHPĀ® is a registered trademark of the PHP Group. CloudFlareĀ® is a registered trademark of Cloudflare, Inc.; NETSCOUTĀ® is a registered trademark of NETSCOUT Systems Inc.; ElasticSearchĀ®, LogStashĀ®, and KibanaĀ® are registered trademarks of Elastic NV Hetzner Online GmbH owns the rights to HetznerĀ®; OVHcloud is a registered trademark of OVH Groupe SAS; cPanelĀ®, LLC owns the rights to cPanelĀ®; PleskĀ® is a registered trademark of Plesk International GmbH; Facebook, Inc. owns the rights to FacebookĀ®. This site is not affiliated, sponsored or otherwise associated with any of the entities mentioned above and does not represent any of these entities in any way. All rights to the brands and product names mentioned are the property of their respective copyright holders. Any other trademarks mentioned belong to their registrants. MANAGED SERVERĀ® is a trademark registered at European level by MANAGED SERVER SRL, Via Enzo Ferrari, 9, 62012 Civitanova Marche (MC), Italy.

Back to top