Changeset 35282 for trunk/src/wp-admin/post.php
- Timestamp:
- 10/20/2015 05:48:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post.php
r34794 r35282 72 72 $error_msg = __( 'Unable to submit this form, please refresh and try again.' ); 73 73 74 if ( ! current_user_can( 'edit_posts') ) {74 if ( ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { 75 75 exit; 76 76 }
Note: See TracChangeset
for help on using the changeset viewer.