Changeset 12045
- Timestamp:
- 05/03/2018 03:30:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/functions.php
r12020 r12045 570 570 } 571 571 572 $temporary_setting = json_decode( wp_unslash( $_POST['customized'] ), true ); 572 $temporary_setting = wp_unslash( $_POST['customized'] ); 573 if ( ! is_array( $temporary_setting ) ) { 574 $temporary_setting = json_decode( $temporary_setting, true ); 575 } 573 576 574 577 // This is used to transport the customizer settings into Ajax requests.
Note: See TracChangeset
for help on using the changeset viewer.