#50312 closed enhancement (fixed)
Add View Post link to Admin Bar of Edit Comments page when viewing comments for a single post.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Toolbar | Keywords: | |
Focuses: | administration | Cc: |
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
@
5 years ago
- Component changed from Administration to Toolbar
- Focuses administration added
- Milestone changed from Awaiting Review to 5.5
#4
@
5 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.
Note: See
TracTickets for help on using
tickets.
Add view post link to edit comments page