Make WordPress Core

Ticket #17234: 17234.patch

File 17234.patch, 500 bytes (added by ocean90, 13 years ago)
  • wp-includes/post.php

     
    24552455                $post_before = get_post($post_ID);
    24562456        }
    24572457
    2458         // Don't allow contributors to set to set the post slug for pending review posts
     2458        // Don't allow contributors to set the post slug for pending review posts
    24592459        if ( 'pending' == $post_status && !current_user_can( 'publish_posts' ) )
    24602460                $post_name = '';
    24612461