wp-plugin-creativecommons
wp-plugin-creativecommons copied to clipboard
Notice: wp_enqueue_script() was called incorrectly
When installing the CreativeCommons plugin, on WordPress 5.8, the following notice is displayed:
Notice: wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /var/www/html/wp-includes/functions.php on line 5663
hi @brylie i will love too work on this issue thanks.
Thanks, @cillacode! I've assigned you to the task.
@brylie can i know which module this issue is referring to.
The issue occurs after installing the Creative Commons plugin. The notice "wp_enqueue_script() was called incorrectly" may not be severe, but it would be good to figure out why we are seeing the warning when WordPress is in debug mode.
alright @brylie i understand now will look at it
@brylie i did some research on this issue and the notice displays due to the deps checks in the ./wp-includes/widgets.php file
so i made an edit in the ./wp-includes/default-filters.php file by commenting out the action that displays the error, and when i reloaded my localhost i didn't get the error
although i am still in search for the wp-enqueue-script that might have been hooked wrongly. my update for now thanks.
Very good :-)
For now, let's disregard this issue and take a closer look at the tasks I shared in project_creativecommons.org
Hello there can someone assign this issue to me?
this issue is still open or not?
I want to work on issues please assign me issues . @brylie