WordPress.org

Make WordPress Core

Changeset 8579


Ignore:
Timestamp:
08/06/08 22:16:19 (6 years ago)
Author:
markjaquith
Message:

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

Location:
branches/2.6/wp-admin
Files:
2 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 
  • 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.