# 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.
Index: class-wp-xmlrpc-server.php
--- class-wp-xmlrpc-server.php Base (BASE)
+++ class-wp-xmlrpc-server.php Locally Modified (Based On LOCAL)
@@ -2188,6 +2188,7 @@
 			switch ( $content_struct["{$post_type}_status"] ) {
 				case 'draft':
 				case 'private':
+                                case 'future':
 				case 'publish':
 					$post_status = $content_struct["{$post_type}_status"];
 					break;
@@ -2287,9 +2288,6 @@
 		if ( !empty( $dateCreated ) ) {
 			$post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated));
 			$post_date_gmt = iso8601_to_datetime($dateCreated, 'GMT');
-		} else {
-			$post_date = current_time('mysql');
-			$post_date_gmt = current_time('mysql', 1);
 		}
 
 		$post_category = array();
@@ -2576,6 +2574,7 @@
 			switch( $content_struct["{$post_type}_status"] ) {
 				case 'draft':
 				case 'private':
+                                case 'future' :
\ No newline at end of file
 				case 'publish':
 					$post_status = $content_struct["{$post_type}_status"];
 					break;
