Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bootstrap wp-admin before rendering widgets – they may rely on wp-adm…
…in functions being loaded. (#33454) * Bootstrap wp-admin before rendering widgets – they may rely on wp-admin functions being loaded. * Bootstrap wp-admin function also in /wp/v2/widgets endpoint * Add a dot at the end of the comment to satisfy linter requirements * Move the require_once statement to encode_form_data to increase the size of the safety net it provides. * Update lib/class-wp-rest-widget-types-controller.php Co-authored-by: Tonya Mork <hello@hellofromtonya.com> Co-authored-by: Tonya Mork <hello@hellofromtonya.com>
- Loading branch information