[wp-trac] [WordPress Trac] #13534: Admin Edit Comments Page - comment links broken UNLESS you are an Editor or Admin
WordPress Trac
wp-trac at lists.automattic.com
Tue May 25 18:12:49 UTC 2010
#13534: Admin Edit Comments Page - comment links broken UNLESS you are an Editor or
Admin
--------------------------+-------------------------------------------------
Reporter: hotforwords | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.9.2
Severity: normal | Keywords: comment links, admin
--------------------------+-------------------------------------------------
Comment(by hotforwords):
I found the solution to the problem that now gives the correct link:
Take wp-admin/includes/template.php
On line 2117 move:
{{{
$comment_url = esc_url(get_comment_link($comment->comment_ID));
}}}
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.)
{{{
}
$comment_url = esc_url(get_comment_link($comment->comment_ID));
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13534#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list