mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Editor: Add more details to template descriptions.
The template descriptions in `get_default_block_template_types()` are updated to add more details. Why? These descriptions are now more prominent in 6.2 to provide a better UX experience with more helpful information. References: * [https://github.com/WordPress/gutenberg/pull/48934 Gutenberg PR 48934] Follow-up to [54761], [54104], [54269], [53129], [52331], [52062]. Props ntsekouras, andrewserong, bph, davidbaumwald, greenshady, glendaviesnz, hellofromTonya, jameskoster, mamaduka, peterwilsoncc, sabernhardt, SergeyBiryukov. Fixes #57892. git-svn-id: https://develop.svn.wordpress.org/trunk@55500 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -134,7 +134,7 @@ class Tests_Block_Template_Utils extends WP_UnitTestCase {
|
||||
$this->assertSame( 'publish', $template->status );
|
||||
$this->assertSame( 'theme', $template->source );
|
||||
$this->assertSame( 'Single', $template->title );
|
||||
$this->assertSame( 'The default template for displaying any single post or attachment.', $template->description );
|
||||
$this->assertSame( 'Displays single posts on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
|
||||
$this->assertSame( 'wp_template', $template->type );
|
||||
|
||||
// Test template parts.
|
||||
|
||||
Reference in New Issue
Block a user