Changeset 54971
- Timestamp:
- 12/14/2022 02:26:51 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php
r54891 r54971 86 86 'description' => __( 'Serialized widget form data to encode into instance settings.' ), 87 87 'type' => 'string', 88 'sanitize_callback' => static function( $ string) {88 'sanitize_callback' => static function( $form_data ) { 89 89 $array = array(); 90 wp_parse_str( $ string, $array );90 wp_parse_str( $form_data, $array ); 91 91 return $array; 92 92 },
Note: See TracChangeset
for help on using the changeset viewer.