# 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.
|
|
|
2188 | 2188 | switch ( $content_struct["{$post_type}_status"] ) { |
2189 | 2189 | case 'draft': |
2190 | 2190 | case 'private': |
| 2191 | case 'future': |
2191 | 2192 | case 'publish': |
2192 | 2193 | $post_status = $content_struct["{$post_type}_status"]; |
2193 | 2194 | break; |
… |
… |
|
2287 | 2288 | if ( !empty( $dateCreated ) ) { |
2288 | 2289 | $post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); |
2289 | 2290 | $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 | 2291 | } |
2294 | 2292 | |
2295 | 2293 | $post_category = array(); |
… |
… |
|
2576 | 2574 | switch( $content_struct["{$post_type}_status"] ) { |
2577 | 2575 | case 'draft': |
2578 | 2576 | case 'private': |
| 2577 | case 'future' : |
| 2578 | No newline at end of file |
2579 | 2579 | case 'publish': |
2580 | 2580 | $post_status = $content_struct["{$post_type}_status"]; |
2581 | 2581 | break; |