Fix a notice when replying to comments in the admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b481ca51a
commit
170b14f97d
@ -2263,8 +2263,8 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
|
||||
if ( isset( $_comment_pending_count[$post->ID] ) ) {
|
||||
$pending_comments = absint( $_comment_pending_count[$post->ID] );
|
||||
} else {
|
||||
$_comment_pending_count_temp = (array) get_pending_comments_num( array( $post->ID ) );
|
||||
$pending_comments = $_comment_pending_count[$post->ID] = $_comment_pending_count_temp[$post->ID];
|
||||
$_comment_pending_count_temp = get_pending_comments_num( array( $post->ID ) );
|
||||
$pending_comments = $_comment_pending_count[$post->ID] = $_comment_pending_count_temp;
|
||||
}
|
||||
if ( $user_can ) {
|
||||
$post_link = "<a href='" . get_edit_post_link($post->ID) . "'>";
|
||||
|
Loading…
Reference in New Issue
Block a user