In `WP_Posts_List_Table::column_date()`, the order of status and time should be switched. It doesn't make sense for phrases like "Last Modified" to occur AFTER the date. Should be before.

Props johnbillion, wonderboymusic.
Fixes #18641. 

Built from https://develop.svn.wordpress.org/trunk@34005


git-svn-id: http://core.svn.wordpress.org/trunk@33974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-10 17:43:24 +00:00
parent 39411b8e61
commit 527b5b1405
2 changed files with 13 additions and 13 deletions

View File

@ -831,6 +831,18 @@ class WP_Posts_List_Table extends WP_List_Table {
}
}
if ( 'publish' == $post->post_status ) {
_e( 'Published' );
} elseif ( 'future' == $post->post_status ) {
if ( $time_diff > 0 ) {
echo '<strong class="error-message">' . __( 'Missed schedule' ) . '</strong>';
} else {
_e( 'Scheduled' );
}
} else {
_e( 'Last Modified' );
}
echo '<br />';
if ( 'excerpt' == $mode ) {
/**
* Filter the published time of the post.
@ -852,18 +864,6 @@ class WP_Posts_List_Table extends WP_List_Table {
/** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */
echo '<abbr title="' . $t_time . '">' . apply_filters( 'post_date_column_time', $h_time, $post, 'date', $mode ) . '</abbr>';
}
echo '<br />';
if ( 'publish' == $post->post_status ) {
_e( 'Published' );
} elseif ( 'future' == $post->post_status ) {
if ( $time_diff > 0 ) {
echo '<strong class="error-message">' . __( 'Missed schedule' ) . '</strong>';
} else {
_e( 'Scheduled' );
}
} else {
_e( 'Last Modified' );
}
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34004';
$wp_version = '4.4-alpha-34005';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.