Ticket #4982: xmlrpc.php.diff

File xmlrpc.php.diff, 864 bytes (added by josephscott, 5 years ago)
  • xmlrpc.php

     
    13941394          'wp_password' => $postdata['post_password'], 
    13951395          'wp_author_id' => $author->ID, 
    13961396          'wp_author_display_name'      => $author->display_name, 
    1397           'date_created_gmt' => new IXR_Date($post_date_gmt) 
     1397          'date_created_gmt' => new IXR_Date($post_date_gmt), 
     1398                  'post_status' => $postdata['post_status'] 
    13981399            ); 
    13991400 
    14001401            return $resp; 
     
    14761477                                'wp_password' => $entry['post_password'], 
    14771478                                'wp_author_id' => $author->ID, 
    14781479                                'wp_author_display_name' => $author->display_name, 
    1479                                 'date_created_gmt' => new IXR_Date($post_date_gmt) 
     1480                                'date_created_gmt' => new IXR_Date($post_date_gmt), 
     1481                                'post_status' => $entry['post_status'] 
    14801482                        ); 
    14811483 
    14821484                }