Ticket #22687: 22687.diff
File 22687.diff, 395 bytes (added by , 12 years ago) |
---|
-
wp-includes/post.php
4921 4921 if ( !$post = get_post( $post_id, ARRAY_A ) ) 4922 4922 return; 4923 4923 4924 if ( 'auto-draft' == $post['post_status'] ) 4925 return; 4926 4924 4927 if ( !post_type_supports($post['post_type'], 'revisions') ) 4925 4928 return; 4926 4929