WordPress.org

Make WordPress Core

Changeset 10585


Ignore:
Timestamp:
02/17/09 19:13:31 (5 years ago)
Author:
ryan
Message:

Add Sticky to list of post states

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r10582 r10585  
    32453245    if ( 'pending' == $post->post_status && 'pending' != $post_status ) 
    32463246        $post_states[] = _c('Pending|post state'); 
     3247    if ( is_sticky($post->ID) ) 
     3248        $post_states[] = __('Sticky'); 
    32473249 
    32483250    $post_states = apply_filters( 'display_post_states', $post_states ); 
Note: See TracChangeset for help on using the changeset viewer.