#50312 closed enhancement (fixed)
Add View Post link to Admin Bar of Edit Comments page when viewing comments for a single post.
| Reported by: | Otto42 | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Toolbar | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
Description
When viewing the comments page for a single post, such as this:
/wp-admin/edit-comments.php?p=123
The admin bar should have a "View Post" link to view that post specifically. It helps with context to be able to view the post without having to look for the link. This is similar to the View Post link in the Editor or whenever otherwise viewing a single post.
First draft patch to add a simple link attached.
Attachments (1)
Change History (8)
#2
@
6 years ago
- Component Administration → Toolbar
- Focuses administration added
- Milestone Awaiting Review → 5.5
#4
@
6 years ago
50312.diff is a good start, but there is an existing code for displaying the "View Post" link that respects the post type object's public and show_in_admin_bar properties, as well as the post status. So it seems better to reuse that existing code instead of duplicating it. Commit incoming.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Add view post link to edit comments page