Make WordPress Core

Ticket #17000: 17000(2).patch

File 17000(2).patch, 1.1 KB (added by nprasath002, 13 years ago)
  • class-wp-xmlrpc-server.php

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: /var/www/wordtrunk/wp-includes
    # This patch can be applied using context Tools: Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    21922192                                        $post_status = $content_struct["{$post_type}_status"];
    21932193                                        break;
    21942194                                case 'pending':
    2195                                         // Pending is only valid for posts, not pages.
    2196                                         if ( $post_type === 'post' )
    21972195                                                $post_status = $content_struct["{$post_type}_status"];
    21982196                                        break;
    21992197                                default:
     
    25802578                                        $post_status = $content_struct["{$post_type}_status"];
    25812579                                        break;
    25822580                                case 'pending':
    2583                                         // Pending is only valid for posts, not pages.
    2584                                         if ( $post_type === 'post' )
    2585  No newline at end of file
    25862581                                                $post_status = $content_struct["{$post_type}_status"];
    25872582                                        break;
    25882583                                default: