Make WordPress Core

Changeset 18599


Ignore:
Timestamp:
08/25/2011 08:05:15 AM (14 years ago)
Author:
westi
Message:

Fix the action links broken by [18594]. Fixes #18447.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-comments-list-table.php

    r18595 r18599  
    303303
    304304    function single_row( $a_comment ) {
    305         global $post, $comment, $the_comment_status;
     305        global $post, $comment;
    306306
    307307        $comment = $a_comment;
     
    323323
    324324    function column_comment( $comment ) {
    325         global $post, $comment_status, $the_comment_status;
     325        global $post, $comment_status;
    326326
    327327        $user_can = $this->user_can;
    328328
    329329        $comment_url = esc_url( get_comment_link( $comment->comment_ID ) );
     330        $the_comment_status = wp_get_comment_status( $comment->comment_ID );
    330331
    331332        $ptime = date( 'G', strtotime( $comment->comment_date ) );
Note: See TracChangeset for help on using the changeset viewer.