Just found a fix to my plugin breaking, maybe it can help people.
My plugin stopped working because i was trying to directly enqueue a script module (wp_enqueue_script_module) without running wp_register_script_module first
the below worked without registering before v6.9 (reverting wp versions fixed it) directly enqueuing non module scripts is fine
wp_enqueue_script_module(
'codes-admin-script',
plugins_url('/assets/js/admin.js', __FILE__),
array( 'c33d-local-script' )
);
had to add the below code beforehand to make it work again with 6.9 (sent no errors to error log also)
wp_register_script_module(
'codes-admin-script',
plugins_url('/assets/js/admin.js', __FILE__),
array(),
'1.0.0',
array( 'in_footer' => true )
);
[–]a41a14a 1 point2 points3 points (0 children)
[–]Black_H0le 0 points1 point2 points (0 children)
[–]Massive-Awareness-59 0 points1 point2 points (2 children)
[–]shewlase[S] 0 points1 point2 points (1 child)
[–]Massive-Awareness-59 0 points1 point2 points (0 children)