Typo fix. Props ocean90, guyn. fixes #17234

git-svn-id: http://svn.automattic.com/wordpress/trunk@17698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-04-25 14:33:27 +00:00
parent c54adb08df
commit ed6d0bbd37
1 changed files with 1 additions and 1 deletions

View File

@ -2455,7 +2455,7 @@ function wp_insert_post($postarr, $wp_error = false) {
$post_before = get_post($post_ID);
}
// Don't allow contributors to set to set the post slug for pending review posts
// Don't allow contributors to set the post slug for pending review posts
if ( 'pending' == $post_status && !current_user_can( 'publish_posts' ) )
$post_name = '';