WordPress.org

Make WordPress Core

Ticket #39077: 39077.1.diff

File 39077.1.diff, 471 bytes (added by schlessera, 11 months ago)
  • src/wp-includes/post.php

    diff --git src/wp-includes/post.php src/wp-includes/post.php
    index 1496d6d..7e0cfea 100644
    function create_initial_post_types() { 
    115115                ), 
    116116                'public' => false, 
    117117                '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 
    118                 'hierarchical' => false, 
     118                'hierarchical' => true, 
    119119                'rewrite' => false, 
    120120                'delete_with_user' => false, 
    121121                'query_var' => false,