Loading wp-includes/class-wp-widget.php +2 −2 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ class WP_Widget { * * @since 2.8.0 * * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, * @param string $id_base Optional. Base ID for the widget, lowercase and unique. If left empty, * a portion of the widget's class name will be used. Has to be unique. * @param string $name Name for the widget displayed on the configuration page. * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for Loading Loading @@ -181,7 +181,7 @@ class WP_Widget { * * @see WP_Widget::__construct() * * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, * @param string $id_base Optional. Base ID for the widget, lowercase and unique. If left empty, * a portion of the widget's class name will be used. Has to be unique. * @param string $name Name for the widget displayed on the configuration page. * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for Loading wp-includes/version.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * * @global string $wp_version */ $wp_version = '5.5-beta3-48579'; $wp_version = '5.5-beta3-48580'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. Loading wp-includes/widgets.php +6 −5 Original line number Diff line number Diff line Loading @@ -1046,21 +1046,22 @@ function wp_get_widget_defaults() { } /** * Convert the widget settings from single to multi-widget format. * Converts the widget settings from single to multi-widget format. * * @since 2.8.0 * * @global array $_wp_sidebars_widgets * * @param string $base_name * @param string $option_name * @param array $settings * @return array * @param string $base_name Root ID for all widgets of this type. * @param string $option_name Option name for this widget type. * @param array $settings The array of widget instance settings. * @return array The array of widget settings converted to multi-widget format. */ function wp_convert_widget_settings( $base_name, $option_name, $settings ) { // This test may need expanding. $single = false; $changed = false; if ( empty( $settings ) ) { $single = true; } else { Loading Loading
wp-includes/class-wp-widget.php +2 −2 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ class WP_Widget { * * @since 2.8.0 * * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, * @param string $id_base Optional. Base ID for the widget, lowercase and unique. If left empty, * a portion of the widget's class name will be used. Has to be unique. * @param string $name Name for the widget displayed on the configuration page. * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for Loading Loading @@ -181,7 +181,7 @@ class WP_Widget { * * @see WP_Widget::__construct() * * @param string $id_base Optional Base ID for the widget, lowercase and unique. If left empty, * @param string $id_base Optional. Base ID for the widget, lowercase and unique. If left empty, * a portion of the widget's class name will be used. Has to be unique. * @param string $name Name for the widget displayed on the configuration page. * @param array $widget_options Optional. Widget options. See wp_register_sidebar_widget() for Loading
wp-includes/version.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * * @global string $wp_version */ $wp_version = '5.5-beta3-48579'; $wp_version = '5.5-beta3-48580'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. Loading
wp-includes/widgets.php +6 −5 Original line number Diff line number Diff line Loading @@ -1046,21 +1046,22 @@ function wp_get_widget_defaults() { } /** * Convert the widget settings from single to multi-widget format. * Converts the widget settings from single to multi-widget format. * * @since 2.8.0 * * @global array $_wp_sidebars_widgets * * @param string $base_name * @param string $option_name * @param array $settings * @return array * @param string $base_name Root ID for all widgets of this type. * @param string $option_name Option name for this widget type. * @param array $settings The array of widget instance settings. * @return array The array of widget settings converted to multi-widget format. */ function wp_convert_widget_settings( $base_name, $option_name, $settings ) { // This test may need expanding. $single = false; $changed = false; if ( empty( $settings ) ) { $single = true; } else { Loading