Ticket #27532: 27532.2.patch
File 27532.2.patch, 585 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/includes/post.php
931 931 if ( ! empty( $q['show_sticky'] ) ) 932 932 $query['post__in'] = (array) get_option( 'sticky_posts' ); 933 933 934 wp( $query );934 query_posts( $query ); 935 935 936 936 return $avail_post_stati; 937 937 } … … 995 995 if ( isset($q['detached']) ) 996 996 $q['post_parent'] = 0; 997 997 998 wp( $q );998 query_posts( $q ); 999 999 1000 1000 return array($post_mime_types, $avail_post_mime_types); 1001 1001 }