WordPress.org

Make WordPress Core

Ticket #7792: xmlrpc.php.diff

File xmlrpc.php.diff, 494 bytes (added by josephscott, 10 years ago)
  • xmlrpc.php

     
    988988                        $comment_status = 'hold';
    989989                else if ( 'spam' == $comment->comment_approved )
    990990                        $comment_status = 'spam';
     991                else if ( 1 == $comment->comment_approved )
     992                        $comment_status = 'approve';
    991993                else
    992                         $comment_status = 'approve';
     994                        $comment_status = $comment->comment_approved;
    993995
    994996                $link = get_comment_link($comment);
    995997