From fd7c5261ecc0d6dec98089ed33486352fce5c7cc Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 20 Sep 2022 13:48:11 +0000 Subject: [PATCH] Help/About: Add a help tab in Theme Install screen for the new "Block Themes" search filter. Follow-up to [53906]. Props audrasjb, poena, robinwpdeveloper, webcommsat. Fixes #56405. Built from https://develop.svn.wordpress.org/trunk@54252 git-svn-id: http://core.svn.wordpress.org/trunk@53811 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/theme-install.php | 14 ++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 668f856c50..558181d961 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -138,9 +138,23 @@ get_current_screen()->add_help_tab( ) ); +// Help tab: Block themes. +$help_block_themes = + '

' . __( 'A block theme is a theme that uses blocks for all parts of a site including navigation menus, header, content, and site footer. These themes are built for the features that allow you to edit and customize all parts of your site.' ) . '

' . + '

' . __( ' With a block theme, you can place and edit blocks without affecting your content by customizing or creating new templates.' ) . '

'; + +get_current_screen()->add_help_tab( + array( + 'id' => 'block_themes', + 'title' => __( 'Block themes' ), + 'content' => $help_block_themes, + ) +); + get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . '

' . __( 'Documentation on Adding New Themes' ) . '

' . + '

' . __( 'Documentation on Block Themes' ) . '

' . '

' . __( 'Support' ) . '

' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 721da9b913..8a728399d5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54251'; +$wp_version = '6.1-alpha-54252'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.