[buddypress-trac] [BuddyPress Trac] #7800: Nouveau: Customizer can throw PHP notices when navigating between pages

buddypress-trac noreply at wordpress.org
Thu May 3 15:29:10 UTC 2018


#7800: Nouveau: Customizer can throw PHP notices when navigating between pages
--------------------------+--------------------
 Reporter:  boonebgorges  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.0
Component:  Templates     |    Version:
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 Steps to reproduce:

 1. In Customizer, change a setting but do not 'Publish'. (Eg, BuddyPress
 Nouveau > Group's navigation > Display the Group's...)
 2. 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()`.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7800>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list