Changeset 33376 for branches/4.0/src/wp-admin/post.php
- Timestamp:
- 07/23/2015 04:00:31 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0/src/wp-admin/post.php
r29572 r33376 114 114 $error_msg = __( 'Unable to submit this form, please refresh and try again.' ); 115 115 116 if ( ! current_user_can( 'edit_posts' ) ) 117 $error_msg = __( 'Oops, you don’t have access to add new drafts.' ); 116 if ( ! current_user_can( 'edit_posts' ) ) { 117 exit; 118 } 118 119 119 120 if ( $error_msg )
Note: See TracChangeset
for help on using the changeset viewer.