WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/22/2015 04:06:45 PM (5 years ago)
Author:
helen
Message:

Add "Scheduled" to post states.

props rclations.
fixes #32131.

File:
1 edited

Legend:

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

    r32654 r32902  
    17241724        $post_states['sticky'] = __('Sticky');
    17251725
     1726    if ( 'future' === $post->post_status ) {
     1727        $post_states['scheduled'] = __( 'Scheduled' );
     1728    }
     1729
    17261730    if ( get_option( 'page_on_front' ) == $post->ID ) {
    17271731        $post_states['page_on_front'] = __( 'Front Page' );
Note: See TracChangeset for help on using the changeset viewer.