Changeset 22291 for trunk/wp-admin/post-new.php
- Timestamp:
- 10/24/2012 10:15:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post-new.php
r20453 r22291 37 37 $editing = true; 38 38 39 if ( ! current_user_can( $post_type_object->cap->edit_posts ) )39 if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) 40 40 wp_die( __( 'Cheatin’ uh?' ) ); 41 41
Note: See TracChangeset
for help on using the changeset viewer.