Ticket #16947: 16947.diff
| File 16947.diff, 1.1 KB (added by , 15 years ago) |
|---|
-
wp-admin/includes/meta-boxes.php
138 138 139 139 140 140 <input type="radio" name="visibility" id="visibility-radio-public" value="public" <?php checked( $visibility, 'public' ); ?> /> <label for="visibility-radio-public" class="selectit"><?php _e('Public'); ?></label><br /> 141 <?php if ($post_type == 'post'): ?>141 <?php if( $post_type == 'post' && current_user_can('edit_others_posts') ): ?> 142 142 <span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID)); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e('Stick this post to the front page') ?></label><br /></span> 143 143 <?php endif; ?> 144 144 <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 />