Make WordPress Core


Ignore:
Timestamp:
09/27/2012 03:33:19 PM (12 years ago)
Author:
ryan
Message:

Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r21981 r22060  
    12971297        'publish_posts'      => 'publish_'      . $plural_base,
    12981298        'read_private_posts' => 'read_private_' . $plural_base,
     1299        // Post creation capability simply maps to edit_posts by default:
     1300        'create_posts'       => 'edit_'         . $plural_base,
    12991301    );
    13001302
Note: See TracChangeset for help on using the changeset viewer.