Changeset 6333
- Timestamp:
- 11/12/07 19:58:09 (10 months ago)
- Files:
-
- trunk/wp-admin/includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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 }
