Changeset 6333
- Timestamp:
- 11/12/2007 07:58:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r6287 r6333 64 64 65 65 if ( 'page' == $_POST['post_type'] ) { 66 if ('publish' == $_POST['post_status'] && !current_user_can( ' edit_published_pages' ))66 if ('publish' == $_POST['post_status'] && !current_user_can( 'publish_pages' )) 67 67 $_POST['post_status'] = 'pending'; 68 68 } else { 69 if ('publish' == $_POST['post_status'] && !current_user_can( ' edit_published_posts' ))69 if ('publish' == $_POST['post_status'] && !current_user_can( 'publish_posts' )) 70 70 $_POST['post_status'] = 'pending'; 71 71 }
Note: See TracChangeset
for help on using the changeset viewer.