[wp-trac] [WordPress Trac] #60251: NOT SURE what to do with thie NOTICE MESSAGE SHOWN IN Customize Screen

WordPress Trac noreply at wordpress.org
Fri Jan 19 13:43:32 UTC 2024


#60251: NOT SURE what to do with thie NOTICE MESSAGE SHOWN IN Customize Screen
--------------------------+------------------------------
 Reporter:  kazskater99   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kazskater99):

 Do you know I have notice few days ago.

 Messga is here shown

 Notice: Function 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
 /home/kaztokyo/www/wordpress/wp-includes/functions.php on line 6031

 I am doing this not to show message.

 function example_theme_support() {
     remove_theme_support( 'widgets-block-editor' );
 }
 add_action( 'after_setup_theme', 'example_theme_support' );

 Thank you

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60251#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list