wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Fix : Prevent viewScriptModule enqueue on admin for blocks

Open Vrishabhsk opened this issue 1 week ago • 2 comments

  • 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.

Vrishabhsk avatar Jan 08 '26 14:01 Vrishabhsk