Ticket #13459: post.php.patch
| File post.php.patch, 537 bytes (added by , 12 years ago) |
|---|
-
post.php
3677 3677 if ( ! is_array( $feeds ) ) 3678 3678 $feeds = array(); 3679 3679 3680 $hierarchical_post_types = get_post_types( array('hierarchical' => true));3680 $hierarchical_post_types = get_post_types(); 3681 3681 if ( 'attachment' == $post_type ) { 3682 3682 // Attachment slugs must be unique across all types. 3683 3683 $check_sql = "SELECT post_name FROM $wpdb->posts WHERE post_name = %s AND ID != %d LIMIT 1";