# 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.
|
|
|
2192 | 2192 | $post_status = $content_struct["{$post_type}_status"]; |
2193 | 2193 | break; |
2194 | 2194 | case 'pending': |
2195 | | // Pending is only valid for posts, not pages. |
2196 | | if ( $post_type === 'post' ) |
2197 | 2195 | $post_status = $content_struct["{$post_type}_status"]; |
2198 | 2196 | break; |
2199 | 2197 | default: |
… |
… |
|
2580 | 2578 | $post_status = $content_struct["{$post_type}_status"]; |
2581 | 2579 | break; |
2582 | 2580 | case 'pending': |
2583 | | // Pending is only valid for posts, not pages. |
2584 | | if ( $post_type === 'post' ) |
2585 | | No newline at end of file |
2586 | 2581 | $post_status = $content_struct["{$post_type}_status"]; |
2587 | 2582 | break; |
2588 | 2583 | default: |