Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load ETK common code before the
plugins_loaded
action (#51158)
`common/index.php` contains helper functions that would be useful when other ETK modules are being setup during the `plugins_loaded` action. Unfortunately they can't be used though, because those helper functions are defined as part of `plugins_loaded` too. There's nothing in `common/index.php` that means loading it should be delayed. So moving the `require_once` call so that it gets loaded as soon as `full-site-editing-plugin.php` is loaded.
- Loading branch information