mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Editor: update template titles in browse mode.
Adds more meaningful titles to templates in the browse mode template list. Props ntsekouras, audrasjb. Fixes #58713. git-svn-id: https://develop.svn.wordpress.org/trunk@56145 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -135,7 +135,7 @@ class Tests_Block_Template_Utils extends WP_UnitTestCase {
|
||||
$this->assertSame( 'single', $template->slug );
|
||||
$this->assertSame( 'publish', $template->status );
|
||||
$this->assertSame( 'theme', $template->source );
|
||||
$this->assertSame( 'Single', $template->title );
|
||||
$this->assertSame( 'Single Posts', $template->title );
|
||||
$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 );
|
||||
$this->assertEmpty( $template->modified );
|
||||
|
||||
Reference in New Issue
Block a user