Ticket #26365: post.2.diff
File post.2.diff, 405 bytes (added by , 9 years ago) |
---|
-
wp-includes/post.php
902 902 } 903 903 904 904 } 905 // Inherit status from the parent 906 elseif ( 'inherit' == $post->post_status && $post->post_parent ) { 907 return get_post_status( $post->post_parent ); 908 } 905 909 906 910 return $post->post_status; 907 911 }