Changeset 8862
- Timestamp:
- 09/11/2008 06:04:51 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r8859 r8862 333 333 ?> 334 334 <p> 335 <label for="post_status_private 2" class="selectit"><input id="post_status_private2" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label>335 <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> 336 336 </p> 337 337 <h4><?php _e( 'Post Password' ); ?></h4> -
trunk/wp-admin/edit-page-form.php
r8850 r8862 78 78 </select> 79 79 </p> 80 <?php if ( current_user_can( 'publish_posts' ) ) : ?>81 <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>82 <?php endif; ?>83 80 84 81 <?php … … 180 177 function page_password_meta_box($post){ 181 178 ?> 179 <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> 180 <h4><?php _e( 'Page Password' ); ?></h4> 182 181 <p><label class="hidden" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo ( isset( $post->post_password ) ? attribute_escape( $post->post_password ) : '' ); ?>" /></p> 183 182 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p> 184 183 <?php 185 184 } 186 add_meta_box('pagepassworddiv', __('P assword Protect This Page'), 'page_password_meta_box', 'page', 'normal', 'core');185 add_meta_box('pagepassworddiv', __('Privacy Options'), 'page_password_meta_box', 'page', 'normal', 'core'); 187 186 188 187 function page_slug_meta_box($post){
Note: See TracChangeset
for help on using the changeset viewer.