diff --git a/wp-admin/edit-form-blocks.php b/wp-admin/edit-form-blocks.php index 3e4fd40e7f..03f80700ba 100644 --- a/wp-admin/edit-form-blocks.php +++ b/wp-admin/edit-form-blocks.php @@ -32,6 +32,11 @@ $current_screen->is_block_editor( true ); */ remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); +/* + * Block editor implements its own Options menu for toggling Document Panels. + */ +add_filter( 'screen_options_show_screen', '__return_false' ); + wp_enqueue_script( 'heartbeat' ); wp_enqueue_script( 'wp-edit-post' ); wp_enqueue_script( 'wp-format-library' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 181fbf4aeb..e83e62f68d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49039'; +$wp_version = '5.6-alpha-49040'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.