{"id":17312106,"date":"2024-01-02T08:22:30","date_gmt":"2024-01-02T08:22:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/notice-about-function-wp_enqueue_script\/"},"modified":"2024-01-02T08:22:30","modified_gmt":"2024-01-02T08:22:30","slug":"notice-about-function-wp_enqueue_script","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/notice-about-function-wp_enqueue_script\/","title":{"rendered":"Notice about function wp_enqueue_script()"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi Danny,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With WP 6.4 and debugging turned on I get this warning:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Notice: Function wp_enqueue_script() was called incorrectly. &#8220;wp-editor&#8221; script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets).<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Guido<\/p>\n","protected":false},"template":"","class_list":["post-17312106","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17312106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17312106\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17312106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}