Changeset 56194 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 07/10/2023 11:09:16 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r55990 r56194 186 186 } 187 187 188 // Custom specified ID's are suffixed if they exist already. 189 // Automatically generated sidebar names need to be suffixed regardless starting at -0. 188 /* 189 * Custom specified ID's are suffixed if they exist already. 190 * Automatically generated sidebar names need to be suffixed regardless starting at -0. 191 */ 190 192 if ( isset( $args['id'] ) ) { 191 193 $_args['id'] = $args['id']; … … 1014 1016 global $_wp_sidebars_widgets, $sidebars_widgets; 1015 1017 1016 // If loading from front page, consult $_wp_sidebars_widgets rather than options 1017 // to see if wp_convert_widget_settings() has made manipulations in memory. 1018 /* 1019 * If loading from front page, consult $_wp_sidebars_widgets rather than options 1020 * to see if wp_convert_widget_settings() has made manipulations in memory. 1021 */ 1018 1022 if ( ! is_admin() ) { 1019 1023 if ( empty( $_wp_sidebars_widgets ) ) {
Note: See TracChangeset
for help on using the changeset viewer.