Make WordPress Core


Ignore:
Timestamp:
03/22/2010 03:11:15 AM (16 years ago)
Author:
nacin
Message:

Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.

File:
1 edited

Legend:

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

    r13774 r13793  
    768768 * edit_type_cap - The capability that controls editing objects of this post type as a class. Defaults to "edit_ . $capability_type . s" (edit_posts).
    769769 * edit_others_cap - The capability that controls editing objects of this post type that are owned by other users. Defaults to "edit_others_ . $capability_type . s" (edit_others_posts).
    770  * edit_others_cap - The capability that controls publishing objects of this post type. Defaults to "publish_ . $capability_type . s" (publish_posts).
     770 * publish_others_cap - The capability that controls publishing objects of this post type. Defaults to "publish_ . $capability_type . s" (publish_posts).
    771771 * read_cap - The capability that controls reading a particular object of this post type. Defaults to "read_$capability_type" (read_post).
    772772 * delete_cap - The capability that controls deleting a particular object of this post type. Defaults to "delete_$capability_type" (delete_post).
Note: See TracChangeset for help on using the changeset viewer.