[wp-trac] [WordPress Trac] #63151: [E_WARNING] class-wp-customize-widgets.php:923

WordPress Trac noreply at wordpress.org
Wed Apr 30 05:37:44 UTC 2025


#63151: [E_WARNING] class-wp-customize-widgets.php:923
-------------------------------------------------+-------------------------
 Reporter:  ArtZ91                               |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.9
Component:  Customize                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing has-testing-info                       |
-------------------------------------------------+-------------------------

Comment (by dilipbheda):

 ## Test Report
 ### Description
 The error is logged in the debug.log file when the theme does not register
 any widgets using the widgets_init action.

 I tested it with my own theme by commenting out the add_action(
 'widgets_init', 'separate_blog_widgets_init' ); line in the functions.php
 file, and as a result, the error was logged in the debug.log file.

 Theme URL: https://wordpress.org/themes/separate-blog/

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/8568

 ### Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.27
 - Server: nginx/1.27.3
 - Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.27)
 - Browser: Chrome 135.0.0.0
 - OS: Linux
 - Theme: Separate Blog 1.0.7
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 ### Actual Results
 1.  ✅ Issue resolved with patch.

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


More information about the wp-trac mailing list