Changeset 54104
- Timestamp:
- 09/08/2022 04:13:10 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r53927 r54104 131 131 ), 132 132 'single' => array( 133 'title' => _x( 'Single Post', 'Template name' ),134 'description' => __( ' Displays a single post.' ),133 'title' => _x( 'Single', 'Template name' ), 134 'description' => __( 'The default template for displaying any single post or attachment.' ), 135 135 ), 136 136 'page' => array( -
trunk/tests/phpunit/tests/block-template-utils.php
r53454 r54104 128 128 $this->assertSame( 'publish', $template->status ); 129 129 $this->assertSame( 'theme', $template->source ); 130 $this->assertSame( 'Single Post', $template->title );131 $this->assertSame( ' Displays a single post.', $template->description );130 $this->assertSame( 'Single', $template->title ); 131 $this->assertSame( 'The default template for displaying any single post or attachment.', $template->description ); 132 132 $this->assertSame( 'wp_template', $template->type ); 133 133
Note: See TracChangeset
for help on using the changeset viewer.