WordPress.org

Make WordPress Core

Ticket #17033: ticket.17033.diff

File ticket.17033.diff, 485 bytes (added by ptahdunbar, 4 years ago)
  • wp-includes/post.php

     
    3636                'capability_type' => 'page', 
    3737                'map_meta_cap' => true, 
    3838                'hierarchical' => true, 
     39                'has_archive' => true, 
    3940                'rewrite' => false, 
    4041                'query_var' => false, 
    4142                'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes', 'custom-fields', 'comments', 'revisions' ),