Opened 10 years ago
Closed 10 years ago
#37993 closed defect (bug) (fixed)
jQuery Syntax Error when not adding a class in 'before_widget'
| Reported by: | acosmin | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Customize | Version: | 3.9 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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