Ticket #21308: 21308.patch
File 21308.patch, 869 bytes (added by , 9 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
619 619 'post_password' => $post['post_password'], 620 620 'post_excerpt' => $post['post_excerpt'], 621 621 'post_content' => $post['post_content'], 622 'post_parent' => strval( $post['post_parent'] ), 623 'post_mime_type' => $post['post_mime_type'], 622 624 'link' => post_permalink( $post['ID'] ), 625 'guid' => $post['guid'], 626 'menu_order' => intval( $post['menu_order'] ), 623 627 'comment_status' => $post['comment_status'], 624 628 'ping_status' => $post['ping_status'], 625 629 'sticky' => ( $post['post_type'] === 'post' && is_sticky( $post['ID'] ) ),