WordPress.org

Make WordPress Core

Ticket #16985: 16985.patch

File 16985.patch, 825 bytes (added by nprasath002, 3 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.
     
    22872287                if ( !empty( $dateCreated ) ) { 
    22882288                        $post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); 
    22892289                        $post_date_gmt = iso8601_to_datetime($dateCreated, 'GMT'); 
    2290                 } else { 
    2291                         $post_date = current_time('mysql'); 
    2292                         $post_date_gmt = current_time('mysql', 1); 
    2293  No newline at end of file 
    22942290                } 
    22952291 
    22962292                $post_category = array();