Changeset 14991
- Timestamp:
- 05/27/2010 12:44:08 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14924 r14991 891 891 * 892 892 * Accepted keys of the capabilities array in the post type object: 893 * - edit_post - The meta capability that controls editing a particular object of this post type. Defaults to "edit_ $capability_type" (edit_post).893 * - edit_post - The meta capability that controls editing a particular object of this post type. Defaults to "edit_ . $capability_type" (edit_post). 894 894 * - edit_posts - The capability that controls editing objects of this post type as a class. Defaults to "edit_ . $capability_type . s" (edit_posts). 895 895 * - edit_others_posts - 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). 896 896 * - publish_posts - The capability that controls publishing objects of this post type. Defaults to "publish_ . $capability_type . s" (publish_posts). 897 * - read_post - The meta capability that controls reading a particular object of this post type. Defaults to "read_ $capability_type" (read_post).898 * - read_private_posts - The capability that controls reading private posts. Defaults to "read_ . $capability_type . s" (read_private_posts).899 * - delete_post - The meta capability that controls deleting a particular object of this post type. Defaults to "delete_ $capability_type" (delete_post).897 * - read_post - The meta capability that controls reading a particular object of this post type. Defaults to "read_ . $capability_type" (read_post). 898 * - read_private_posts - The capability that controls reading private posts. Defaults to "read_private . $capability_type . s" (read_private_posts). 899 * - delete_post - The meta capability that controls deleting a particular object of this post type. Defaults to "delete_ . $capability_type" (delete_post). 900 900 * 901 901 * @since 3.0.0 … … 926 926 * - add_new_item - Default is Add New Post/Add New Page 927 927 * - edit_item - Default is Edit Post/Edit Page 928 * - edit - Default is Edit. When internationalizing this string, please use a {@link http://codex.wordpress.org/I18n_for_WordPress_Developers#Disambiguation_by_context gettext context} matching your post type. Example: <code>_x('Edit', 'product');</code>929 928 * - new_item - Default is New Post/New Page 930 929 * - view_item - Default is View Post/View Page
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)