Ticket #13755: 13755.diff
| File 13755.diff, 547 bytes (added by ryan, 3 years ago) |
|---|
-
wp-admin/includes/post.php
874 874 875 875 $avail_post_stati = get_available_post_statuses($post_type); 876 876 877 if ( isset($q['post_status']) && in_array( $q['post_status'], $post_stati) ) {877 if ( isset($q['post_status']) && ( ('any' == $q['post_status']) || in_array( $q['post_status'], $post_stati ) ) ) { 878 878 $post_status = $q['post_status']; 879 879 $perm = 'readable'; 880 880 }
