Remove privacy checkbox from submitbox. see #7552

git-svn-id: http://svn.automattic.com/wordpress/trunk@8859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-11 04:19:19 +00:00
parent c862000e76
commit 589df9dcfd

View File

@ -88,7 +88,6 @@ if ( current_user_can('publish_posts') OR ( $post->post_status == 'publish' AND
</p>
<?php if ( current_user_can( 'publish_posts' ) ) : ?>
<p id="private-checkbox"><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label></p>
<?php if ( current_user_can( 'edit_others_posts' ) ) : ?>
<p id="sticky-checkbox"><label for="sticky" class="selectit"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID), true); ?> tabindex="4" /> <?php _e('Stick this post to the front page') ?></label></p>
<?php endif; ?>