Make WordPress Core

Changeset 14587


Ignore:
Timestamp:
05/12/2010 08:57:47 PM (14 years ago)
Author:
nacin
Message:

Fix typos. see #13358.

File:
1 edited

Legend:

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

    r14585 r14587  
    894894function get_post_type_capabilities( $args ) {
    895895    $defaults = array(
    896         'edit_post'          => 'edit_'         . $args->capabilities['capability_type'],
    897         'edit_posts'         => 'edit_'         . $args->capabilities['capability_type'] . 's',
    898         'edit_others_posts'  => 'edit_others_'  . $args->capabilities['capability_type'] . 's',
    899         'publish_posts'      => 'publish_'      . $args->capabilities['capability_type'] . 's',
    900         'read_post'          => 'edit_'         . $args->capabilities['capability_type'],
    901         'read_private_posts' => 'read_private_' . $args->capabilities['capability_type'] . 's',
    902         'delete_post'        => 'delete_'       . $args->capabilities['capability_type'],
     896        'edit_post'          => 'edit_'         . $args->capability_type,
     897        'edit_posts'         => 'edit_'         . $args->capability_type . 's',
     898        'edit_others_posts'  => 'edit_others_'  . $args->capability_type . 's',
     899        'publish_posts'      => 'publish_'      . $args->capability_type . 's',
     900        'read_post'          => 'edit_'         . $args->capability_type,
     901        'read_private_posts' => 'read_private_' . $args->capability_type . 's',
     902        'delete_post'        => 'delete_'       . $args->capability_type,
    903903    );
    904904    $labels = array_merge( $defaults, $args->capabilities );
Note: See TracChangeset for help on using the changeset viewer.