Ticket #39545: class-wp-posts-list-table.php.patch
File class-wp-posts-list-table.php.patch, 1.3 KB (added by , 8 years ago) |
---|
-
src/wp-admin/includes/class-wp-posts-list-table.php
992 992 } 993 993 994 994 if ( 'publish' === $post->post_status ) { 995 _e( 'Published' );995 $status = __( 'Published' ); 996 996 } elseif ( 'future' === $post->post_status ) { 997 997 if ( $time_diff > 0 ) { 998 echo'<strong class="error-message">' . __( 'Missed schedule' ) . '</strong>';998 $status = '<strong class="error-message">' . __( 'Missed schedule' ) . '</strong>'; 999 999 } else { 1000 _e( 'Scheduled' );1000 $status = __( 'Scheduled' ); 1001 1001 } 1002 1002 } else { 1003 _e( 'Last Modified' );1003 $status = __( 'Last Modified' ); 1004 1004 } 1005 echo '<br />'; 1005 /** 1006 * Filters the published status text of the post. * 1007 * 1008 * @since 4.8 1009 * 1010 * @param string $status The Status text. 1011 * @param WP_Post $post Post object. 1012 */ 1013 $status = apply_filters( "{$post->post_type}_date_column_status", $status, $post ); 1014 1015 if ( '' !== trim( $status ) ) { 1016 echo esc_html( $status . '<br />' ); 1017 } 1018 1006 1019 if ( 'excerpt' === $mode ) { 1007 1020 /** 1008 1021 * Filters the published time of the post.