wordpress-develop
wordpress-develop copied to clipboard
Fix : Prevent viewScriptModule enqueue on admin for blocks
- Added a is_admin check before the viewScriptModule scripts are enqueued via
wp_enqueue_script_module
Trac ticket: https://core.trac.wordpress.org/ticket/64484
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.