WordPress.org

Make WordPress Core

Ticket #52314: 52314.diff

File 52314.diff, 553 bytes (added by audrasjb, 7 months ago)

Here is a first try on this ticket :)

  • src/wp-admin/admin-header.php

    diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php
    index d2b5fda09e..a116f667d5 100644
    a b if ( wp_is_recovery_mode() ) { 
    5757        $admin_title = sprintf( __( 'Recovery Mode — %s' ), $admin_title );
    5858}
    5959
     60if ( 'post' === $current_screen->base ) {
     61        /* translators: Editor admin screen title. %s: Post title. */
     62        $admin_title = sprintf( __( 'Edit: "%s"' ), get_the_title() );
     63}
     64
    6065/**
    6166 * Filters the title tag content for an admin page.
    6267 *