Typo fix. Props ocean90, guyn. fixes #17234
git-svn-id: https://develop.svn.wordpress.org/trunk@17698 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e74ff4d710
commit
c4d025eb56
@ -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 = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user