Fix the action links broken by [18594]. Fixes #18447.
git-svn-id: https://develop.svn.wordpress.org/trunk@18599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9e2aa32657
commit
ab660228ab
|
@ -302,7 +302,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||||
}
|
}
|
||||||
|
|
||||||
function single_row( $a_comment ) {
|
function single_row( $a_comment ) {
|
||||||
global $post, $comment, $the_comment_status;
|
global $post, $comment;
|
||||||
|
|
||||||
$comment = $a_comment;
|
$comment = $a_comment;
|
||||||
$the_comment_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) );
|
$the_comment_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) );
|
||||||
|
@ -322,11 +322,12 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||||
}
|
}
|
||||||
|
|
||||||
function column_comment( $comment ) {
|
function column_comment( $comment ) {
|
||||||
global $post, $comment_status, $the_comment_status;
|
global $post, $comment_status;
|
||||||
|
|
||||||
$user_can = $this->user_can;
|
$user_can = $this->user_can;
|
||||||
|
|
||||||
$comment_url = esc_url( get_comment_link( $comment->comment_ID ) );
|
$comment_url = esc_url( get_comment_link( $comment->comment_ID ) );
|
||||||
|
$the_comment_status = wp_get_comment_status( $comment->comment_ID );
|
||||||
|
|
||||||
$ptime = date( 'G', strtotime( $comment->comment_date ) );
|
$ptime = date( 'G', strtotime( $comment->comment_date ) );
|
||||||
if ( ( abs( time() - $ptime ) ) < 86400 )
|
if ( ( abs( time() - $ptime ) ) < 86400 )
|
||||||
|
|
Loading…
Reference in New Issue