Since then, it was no longer possible to run WordPress from the
src folder. This gave some issues, especially with developing WordPress core PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher. Today, @atimmer committed a patch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. which allows developers to build into
Developers can now run
src and use
The biggest advantage of running WordPress from
grunt build --dev and continue coding PHP like you were used to.
This change is fully backwards compatible with the previous setup.
grunt build without the
--dev flag still works exactly the same. No setups based on it should break.
grunt watch should become much faster. Relevant ticket Created for both bug reports and feature development on the bug tracker.: Use Webpack + NPM scripts to build all the things.