Opened 15 years ago
Closed 15 years ago
#13534 closed defect (bug) (fixed)
Admin Edit Comments Page - comment links broken UNLESS you are an Editor or Admin
Reported by: | hotforwords | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9.2 |
Component: | Administration | Keywords: | comment links, admin |
Focuses: | Cc: |
Description
The link to a comment in the All Comments (Edit Comments) area of the Admin area do not take you to the actual comment UNLESS you are logged in as an Admin or an Editor.
This does not make sense as the links in the Admin Dashboard Comments area DO take you to the actual comment even if not an Admin or Editor.
I have contributors who need to search for and go directly to comments in the back-end but for some reason the link (the highlighted time of the comment) only takes you back to the Admin area if you are not logged in as an Editor or Administrator.
Change History (4)
Note: See
TracTickets for help on using
tickets.
I found the solution to the problem that now gives the correct link:
Take wp-admin/includes/template.php
On line 2117 move:
To line 2126 just after the closing bracket (This moves it outside of the if user can statement as there is no reason for it to be there.)