Changeset 33358 for branches/4.2/src/wp-admin/post.php
- Timestamp:
- 07/22/2015 04:05:17 AM (11 years ago)
- File:
-
- 1 edited
-
branches/4.2/src/wp-admin/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-admin/post.php
r31633 r33358 116 116 $error_msg = __( 'Unable to submit this form, please refresh and try again.' ); 117 117 118 if ( ! current_user_can( 'edit_posts' ) ) 119 $error_msg = __( 'Oops, you don’t have access to add new drafts.' ); 118 if ( ! current_user_can( 'edit_posts' ) ) { 119 exit; 120 } 120 121 121 122 if ( $error_msg )
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)