Changeset 47808 for trunk/src/wp-admin/includes/widgets.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/widgets.php
r47550 r47808 226 226 * for a multi-widget control. 227 227 */ 228 if ( isset( $sidebar_args['_display'] ) && 'template' == $sidebar_args['_display'] && $widget_number ) {228 if ( isset( $sidebar_args['_display'] ) && 'template' === $sidebar_args['_display'] && $widget_number ) { 229 229 // number == -1 implies a template where id numbers are replaced by a generic '__i__'. 230 230 $control['params'][0]['number'] = -1;
Note: See TracChangeset
for help on using the changeset viewer.