WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 21 months ago

#39282 new enhancement

The process for approving and then replying to a comment can be made more visible

Reported by: johnbillion Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.1
Component: Comments Keywords: has-patch needs-testing
Focuses: ui, administration Cc:

Description

The workflow for approving and then immediately replying to a comment has a shortcut in WordPress, but it's not obvious. If you don't know about it, you can waste time and effort switching between the pending and approved views on the comment moderation screen after approving a comment and then wanting to reply to it.

The Reply link on a pending comment is actually a shortcut for approving and then replying to a comment. The Reply link text should be updated to Approve and Reply to reflect this and make comment moderation a more enjoyable process.

Attachments (3)

39282.patch (948 bytes) - added by sanket.parmar 2 years ago.
In this patch Reply is replaced with Approve and Reply.
39282-1.patch (2.4 KB) - added by sanket.parmar 2 years ago.
Hi @johnbillion, This patch will solve that scenarios. Let me know if it is correct.
39282-2.patch (91.9 KB) - added by frantorres 21 months ago.
This would be another approach. Needs revision and testing.

Download all attachments as: .zip

Change History (14)

#1 @lukecavanagh
2 years ago

@johnbillion

Would front-end moderation on comments for say admin user roles, ever be an option?

#2 @johnbillion
2 years ago

Possibly, yes, but that's a separate issue.

#3 @lukecavanagh
2 years ago

@johnbillion

Okay, fair point.

@sanket.parmar
2 years ago

In this patch Reply is replaced with Approve and Reply.

#4 @sanket.parmar
2 years ago

  • Keywords has-patch added; needs-patch removed

#5 @johnbillion
2 years ago

  • Keywords needs-patch added; has-patch removed

Thanks for the patch @sanket.parmar but the issue is more complex than this.

  • The link text only needs to change for unapproved comments. The behaviour of replying to an approved comment doesn't change.
  • The link text needs to be aware of AJAX actions. For an unapproved comment that gets approved, the link text needs to change from Approve and Reply to Reply, and vice versa. This will need some JavaScript work.

@sanket.parmar
2 years ago

Hi @johnbillion, This patch will solve that scenarios. Let me know if it is correct.

#6 @sanket.parmar
2 years ago

  • Keywords has-patch added; needs-patch removed

#7 follow-up: @johnbillion
2 years ago

  • Keywords needs-testing added

#8 in reply to: ↑ 7 ; follow-up: @frantorres
21 months ago

Approve and Reply is not changing to Reply with the ajax action when you approve and reply to a comment.

¿What about take a new approach and creating a brand new action for approve and reply instead of reusing the reply one?

@frantorres
21 months ago

This would be another approach. Needs revision and testing.

#9 in reply to: ↑ 8 @frantorres
21 months ago

Replying to frantorres: I noticed my approach would not be valid because makes functional duplicity. Let's move on with @sanket.parmar approach.

This ticket was mentioned in Slack in #core by jeffpaul. View the logs.


21 months ago

#11 @johnbillion
21 months ago

  • Milestone changed from 4.8 to Future Release
Note: See TracTickets for help on using tickets.