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
This commit is contained in:
audrasjb 2022-09-20 13:48:11 +00:00
parent fa4cc8f69d
commit fd7c5261ec
2 changed files with 15 additions and 1 deletions

View File

@ -138,9 +138,23 @@ get_current_screen()->add_help_tab(
)
);
// Help tab: Block themes.
$help_block_themes =
'<p>' . __( '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.' ) . '</p>' .
'<p>' . __( ' With a block theme, you can place and edit blocks without affecting your content by customizing or creating new templates.' ) . '</p>';
get_current_screen()->add_help_tab(
array(
'id' => 'block_themes',
'title' => __( 'Block themes' ),
'content' => $help_block_themes,
)
);
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/#install-themes">Documentation on Adding New Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/block-themes/">Documentation on Block Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);

View File

@ -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.