Opened 8 years ago
Closed 8 years ago
#7800 closed defect (bug) (fixed)
Nouveau: Customizer can throw PHP notices when navigating between pages
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Templates | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Steps to reproduce:
- In Customizer, change a setting but do not 'Publish'. (Eg, BuddyPress Nouveau > Group's navigation > Display the Group's...)
- In the preview frame, navigate to the Groups directory
At some point in this process, $_POST['customized'] ends up being an array rather than a serialized string, which causes json_decode() to throw a notice. As far as I can tell, it's not BuddyPress doing this, but we should at least check before passing through json_decode().
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 12045: