Changeset 48580 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 07/23/2020 01:48:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r48473 r48580 1047 1047 1048 1048 /** 1049 * Convert the widget settings from single to multi-widget format.1049 * Converts the widget settings from single to multi-widget format. 1050 1050 * 1051 1051 * @since 2.8.0 … … 1053 1053 * @global array $_wp_sidebars_widgets 1054 1054 * 1055 * @param string $base_name 1056 * @param string $option_name 1057 * @param array $settings 1058 * @return array 1055 * @param string $base_name Root ID for all widgets of this type. 1056 * @param string $option_name Option name for this widget type. 1057 * @param array $settings The array of widget instance settings. 1058 * @return array The array of widget settings converted to multi-widget format. 1059 1059 */ 1060 1060 function wp_convert_widget_settings( $base_name, $option_name, $settings ) { … … 1062 1062 $single = false; 1063 1063 $changed = false; 1064 1064 1065 if ( empty( $settings ) ) { 1065 1066 $single = true;
Note: See TracChangeset
for help on using the changeset viewer.