Make WordPress Core


Ignore:
Timestamp:
08/06/2008 10:16:19 PM (16 years ago)
Author:
markjaquith
Message:

Add private-checkbox ID to private checkbox wrapping paragraph so plugins can hide it with CSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-admin/edit-page-form.php

    r8531 r8579  
    9999</p>
    100100<?php if ( current_user_can( 'publish_posts' ) ) : ?>
    101 <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 page private') ?></label></p>
     101<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 page private') ?></label></p>
    102102<?php endif; ?>
    103103
Note: See TracChangeset for help on using the changeset viewer.