Make WordPress Core

Ticket #13459: post.php.patch

File post.php.patch, 537 bytes (added by datta.parad, 12 years ago)
  • post.php

     
    36773677        if ( ! is_array( $feeds ) )
    36783678                $feeds = array();
    36793679
    3680         $hierarchical_post_types = get_post_types( array('hierarchical' => true) );
     3680        $hierarchical_post_types = get_post_types();
    36813681        if ( 'attachment' == $post_type ) {
    36823682                // Attachment slugs must be unique across all types.
    36833683                $check_sql = "SELECT post_name FROM $wpdb->posts WHERE post_name = %s AND ID != %d LIMIT 1";