Make WordPress Core


Ignore:
Timestamp:
07/06/2023 03:02:57 AM (2 years ago)
Author:
isabel_brison
Message:

Editor: update template titles in browse mode.

Adds more meaningful titles to templates in the browse mode template list.

Props ntsekouras, audrasjb.
Fixes #58713.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/block-template-utils.php

    r55993 r56145  
    136136        $this->assertSame( 'publish', $template->status );
    137137        $this->assertSame( 'theme', $template->source );
    138         $this->assertSame( 'Single', $template->title );
     138        $this->assertSame( 'Single Posts', $template->title );
    139139        $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 );
    140140        $this->assertSame( 'wp_template', $template->type );
Note: See TracChangeset for help on using the changeset viewer.