WordPress.org

Make WordPress Core

Ticket #15665: post.diff

File post.diff, 517 bytes (added by designsimply, 3 years ago)
  • wp-includes/post.php

     
    5151                '_edit_link' => 'media.php?attachment_id=%d', /* internal use only. don't use this when registering your own post type. */ 
    5252                'capability_type' => 'post', 
    5353                'map_meta_cap' => true, 
    54                 'hierarchical' => false, 
     54                'hierarchical' => true, 
    5555                'rewrite' => false, 
    5656                'query_var' => false, 
    5757                'show_in_nav_menus' => false,