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-form-advanced.php

    r8531 r8579  
    118118
    119119<?php if ( current_user_can( 'publish_posts' ) ) : ?>
    120 <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></p>
     120<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>
    121121<?php endif; ?>
    122122<?php
Note: See TracChangeset for help on using the changeset viewer.