Release 1.20.1
Fixes inline script orphaning on block editor pages by skipping premature script calls and preventing duplicate output.
View full changelog
Fixed
- Fixed
InlineScriptRegistryorphaning all inline scripts on block editor pages wherewp_print_scriptsfires beforeadmin_enqueue_scripts. Therender()method now skips earlywp_print_scriptscalls when the registry is empty, preserving theadmin_print_scriptshook as a fallback, and uses a$renderedflag to prevent double output.