WordPress.org

Make WordPress Core

Ticket #18681: xmlrpc.diff

File xmlrpc.diff, 383 bytes (added by skithund, 7 years ago)

Patch against current 3.2 branch for removing auto-drafts from listing

  • wp-includes/class-wp-xmlrpc-server.php

     
    744744                                post_status
    745745                        FROM {$wpdb->posts}
    746746                        WHERE post_type = 'page'
     747                        AND post_status != 'auto-draft'
    747748                        ORDER BY ID
    748749                ");
    749750