Changeset 51175
- Timestamp:
- 06/17/2021 11:32:57 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php
r51174 r51175 211 211 $widget_object = $wp_widget_factory->get_widget_object( $parsed_id['id_base'] ); 212 212 213 $widget['id'] 214 $widget['is_multi'] 213 $widget['id'] = $parsed_id['id_base']; 214 $widget['is_multi'] = (bool) $widget_object; 215 215 216 216 if ( isset( $widget['name'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.