[wp-trac] [WordPress Trac] #52314: the HTML <title> tag for Edit Post should include the post's title
WordPress Trac
noreply at wordpress.org
Sat Jan 16 00:55:25 UTC 2021
#52314: the HTML <title> tag for Edit Post should include the post's title
--------------------------+-----------------------------
Reporter: skierpage | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.6
Severity: minor | Keywords:
Focuses: |
--------------------------+-----------------------------
1. Open wp-admin > Posts > All Posts
2. Hover over a post then click Edit
RESULT:
The web page's `<title>` tag is just "Edit Post ‹ ''your blog name'' —
WordPress". There is no indication of what page you are editing. This
makes it harder to later locate the tab in the browser, makes bookmarking
posts you regularly edit harder, and the other problems of a poor web page
title.
EXPECTED RESULT:
It would be nice to see part of the post's title in the web page's
`<title>`, e.g. "Edit Post 'Britney Spears… evar' ‹ ''your blog name'' —
WordPress"
VERSION: 5.6 in Firefox Nightly, running Linux on server and browser,
using Gutenberg plug-in 9.7.0.
(This could be a bug in the Gutenberg editor rather than WordPress;
there's code in `src/wp-admin/edit.php` to set the title:
{{{#!php
$title = $post_type_object->labels->name;
}}}
but I'm not sure what it does.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52314>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list