Opened 8 years ago
Closed 8 years ago
#37993 closed defect (bug) (fixed)
jQuery Syntax Error when not adding a class in 'before_widget'
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
Description
If you remove the widget
class (or if you don't add a class) in 'before_widget' => '<section id="%1$s" class="widget %2$s">'
, when using register_sidebar()
you get a jQuery Syntax Error in the Customizer.
jquery.js?ver=1.12.4:2 Uncaught Error: Syntax error, unrecognized expression: SECTION.,SECTION.widget,SECTION.widget
Change History (2)
Note: See
TracTickets for help on using
tickets.
Related: #37993