Ticket #36691: 36691.patch
File 36691.patch, 1.4 KB (added by , 7 years ago) |
---|
-
wp-admin/includes/meta-boxes.php
156 156 <?php if ( $post_type == 'post' && current_user_can( 'edit_others_posts' ) ) : ?> 157 157 <span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span> 158 158 <?php endif; ?> 159 <?php if ( 'password' === $visibility || apply_filters( 'allow_password_protected_posts', true ) ) : ?> 159 160 <input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br /> 160 161 <span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo esc_attr($post->post_password); ?>" maxlength="20" /><br /></span> 162 <?php endif; ?> 161 163 <input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e('Private'); ?></label><br /> 162 164 163 165 <p>