Give separate paragraphs to the private/sticky checkboxen (heh) and give them distinct IDs for plugin CSS-hiding purposes. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
643218c8fb
commit
bc5419ac4f
|
@ -117,8 +117,8 @@ if ( current_user_can('publish_posts') OR ( $post->post_status == 'publish' AND
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php if ( current_user_can( 'publish_posts' ) ) : ?>
|
<?php if ( current_user_can( 'publish_posts' ) ) : ?>
|
||||||
<p><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><br />
|
<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>
|
||||||
<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>
|
<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; ?>
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
if ($post_ID) {
|
if ($post_ID) {
|
||||||
|
|
Loading…
Reference in New Issue