Make WordPress Core


Ignore:
Timestamp:
08/05/2008 05:48:21 AM (17 years ago)
Author:
ryan
Message:

Sticky Posts, firct cut. see #7457

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r8530 r8546  
    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><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><br />
     121<label for="sticky" class="selectit"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID), true); ?> tabindex="4" /> <?php _e('Stick this post to the front page') ?></label></p>
    121122<?php endif; ?>
    122123<?php
Note: See TracChangeset for help on using the changeset viewer.