Make WordPress Core

Ticket #32131: 32131.diff

File 32131.diff, 677 bytes (added by rclations, 11 years ago)
  • src/wp-admin/includes/template.php

     
    16911691        if ( 'pending' == $post->post_status && 'pending' != $post_status )
    16921692                /* translators: post state */
    16931693                $post_states['pending'] = _x('Pending', 'post state');
     1694        if ( 'future' == $post->post_status )
     1695                if ( time() > strtotime($post->post_date) )
     1696                        $post_states['scheduled'] = __('Missed Schedule');
     1697                else
     1698                        $post_states['scheduled'] = __('Scheduled');
    16941699        if ( is_sticky($post->ID) )
    16951700                $post_states['sticky'] = __('Sticky');
    16961701