WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 18 months ago

#21010 new enhancement

View Post Link on edit-comments.php

Reported by: mordauk Owned by: mordauk
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 3.4
Component: Comments Keywords: has-patch ux-feedback
Focuses: Cc:

Description

Anytime I approve a comment, I'm always irritated by the fact that there isn't a "View Post" link anywhere that links to the live post on the front end. The title of the post, such as "Hello World", is shown, but it links to post.php.

A lot of times I want to read back through the original post before I answer the comment, and I'd prefer to do that on the live site, not the admin, so I think there needs to be a "View Post" link next to the post title that links to the live site.

Attachments (5)

edit-comments-view-post.diff (885 bytes) - added by mordauk 3 years ago.
21010.patch (1.2 KB) - added by SergeyBiryukov 3 years ago.
21010.after.png (10.8 KB) - added by SergeyBiryukov 3 years ago.
21010.2.patch (1.1 KB) - added by SergeyBiryukov 3 years ago.
Without target="_blank"
21010.3.patch (751 bytes) - added by SergeyBiryukov 3 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 @mordauk3 years ago

The "View Post" link is available in the "In Response To" column when $_GETp? isn't set, so I really don't see any reason not to show in when viewing comments for a single post.

comment:2 @kopepasah3 years ago

I too agree that this feature should be changed and incorporated.

I honestly do not even know why the post name links to edit post and not view post. This can be very confusing to new users who think the link takes them to the actual post (I know I fell victim to this long ago).

Even if this feature is not incorporated, the anchor name should be switched from the post name to simply edit post and/or a title should be placed on the anchor that stated what the anchor links to (for those who do not verify urls before clicking).

@SergeyBiryukov3 years ago

@SergeyBiryukov3 years ago

comment:3 @SergeyBiryukov3 years ago

To be clear, this applies to the comment list for a particular post.

Related: #15609

21010.patch should also work for RTL and support custom post type labels, like the link in the "In Response To" column. 21010.after.png shows the result.

Replying to kopepasah:

I honestly do not even know why the post name links to edit post and not view post.

That's the common behaviour throughout the admin.

comment:4 @SergeyBiryukov3 years ago

  • Keywords ux-feedback added

@SergeyBiryukov3 years ago

Without target="_blank"

comment:5 @mordauk3 years ago

I have no problem with the post name linking to the edit page, there just needs to be a way to view the post as well on the front end.

comment:6 @bradt3 years ago

  • Cc brad@… added

comment:7 @mbijon3 years ago

  • Cc mike@… added

comment:8 @sunnyratilal3 years ago

  • Cc ratilal.sunny@… added

comment:9 @mordauk3 years ago

What about instead of a View Post link at the very top, we place one just after the comment time stamp? It seems like a better place than the top of the screen, though I do wonder if it might be too redundant to show on each comment.

@SergeyBiryukov3 years ago

comment:10 @SergeyBiryukov3 years ago

We could probably just always show the "In Response To" column (21010.3.patch).

comment:11 @mordauk3 years ago

That seems a bit redundant to me (as does my [thought above](http://core.trac.wordpress.org/ticket/21010#comment:9)).

Note: See TracTickets for help on using tickets.