From c4d025eb56de930362bc99246fa4e524ff2583a8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 25 Apr 2011 14:33:27 +0000 Subject: [PATCH] Typo fix. Props ocean90, guyn. fixes #17234 git-svn-id: https://develop.svn.wordpress.org/trunk@17698 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 46deb31bb5..e74e498e5a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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 = '';