diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 9cce288feb..35d9611141 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -118,7 +118,9 @@ if ( current_user_can('publish_posts') OR ( $post->post_status == 'publish' AND

-

+ +

+ ID ); - if ( !empty($_POST['sticky']) ) - stick_post($post_ID); - else - unstick_post($post_ID); + if ( current_user_can( 'edit_others_posts' ) ) { + if ( !empty($_POST['sticky']) ) + stick_post($post_ID); + else + unstick_post($post_ID); + } return $post_ID; }