WordPress.org

Make WordPress Core

Ticket #16714: 16714.12.diff

File 16714.12.diff, 594 bytes (added by nacin, 17 months ago)
  • wp-includes/post.php

     
    6363                '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 
    6464                '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ 
    6565                'capability_type' => 'post', 
     66                'capabilities' => array( 
     67                        'create_posts' => 'upload_files', 
     68                ), 
    6669                'map_meta_cap' => true, 
    6770                'hierarchical' => false, 
    6871                'rewrite' => false,