diff --git a/wp-includes/version.php b/wp-includes/version.php index 855382455d..1ddbd35e4f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta3-51218'; +$wp_version = '5.8-beta3-51219'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 124428a622..2a90d6ff0f 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -2006,16 +2006,3 @@ function wp_render_widget_control( $id ) { return ob_get_clean(); } - -// Needed until src/blocks/legacy-widget/index.php in @wordpress/block-library -// is updated to use the 'wp_' functions. -function gutenberg_find_widgets_sidebar( $widget_id ) { - return wp_find_widgets_sidebar( $widget_id ); -} -function gutenberg_render_widget( $widget_id, $sidebar_id ) { - return wp_render_widget( $widget_id, $sidebar_id ); -} -function gutenberg_get_widget_object( $id_base ) { - global $wp_widget_factory; - return $wp_widget_factory->get_widget_object( $id_base ); -}