Opened 6 years ago
Closed 6 years ago
#47715 closed defect (bug) (fixed)
Customize: Widgets filter overwrites options with empty value
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.3 | Priority: | normal |
| Severity: | normal | Version: | 3.9 |
| Component: | Customize | Keywords: | has-patch |
| Focuses: | Cc: |
Description
\WP_Customize_Widgets::capture_filter_pre_update_option(), which is hooked to the pre_update_option filter, does not return a value when it attempts to return early, causing the filtered value to become null.
The attached patch ensures the filtered value is returned instead.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 45644: