WordPress.org

Make WordPress Core

Opened 12 months ago

Last modified 6 months ago

#21010 new enhancement

View Post Link on edit-comments.php

Reported by: mordauk Owned by: mordauk
Priority: normal Milestone: Awaiting Review
Component: Comments Version: 3.4
Severity: minor Keywords: has-patch ux-feedback
Cc: brad@…, mike@…, ratilal.sunny@…

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 12 months ago.
21010.patch (1.2 KB) - added by SergeyBiryukov 12 months ago.
21010.after.png (10.8 KB) - added by SergeyBiryukov 12 months ago.
21010.2.patch (1.1 KB) - added by SergeyBiryukov 12 months ago.
Without target="_blank"
21010.3.patch (751 bytes) - added by SergeyBiryukov 6 months ago.

Download all attachments as: .zip

Change History (16)

comment:1 mordauk12 months 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 kopepasah12 months 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).

SergeyBiryukov12 months ago

SergeyBiryukov12 months ago

comment:3 SergeyBiryukov12 months 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 SergeyBiryukov12 months ago

  • Keywords ux-feedback added

SergeyBiryukov12 months ago

Without target="_blank"

comment:5 mordauk11 months 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 bradt6 months ago

  • Cc brad@… added

comment:7 mbijon6 months ago

  • Cc mike@… added

comment:8 sunnyratilal6 months ago

  • Cc ratilal.sunny@… added

comment:9 mordauk6 months 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.

SergeyBiryukov6 months ago

comment:10 SergeyBiryukov6 months ago

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

comment:11 mordauk6 months 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.