Index: src/wp-admin/edit.php
===================================================================
--- src/wp-admin/edit.php (revision 34747)
+++ src/wp-admin/edit.php (working copy)
@@ -294,10 +294,26 @@
labels->name );
-if ( current_user_can( $post_type_object->cap->create_posts ) )
+if ( current_user_can( $post_type_object->cap->create_posts ) ) {
echo ' ' . esc_html( $post_type_object->labels->add_new ) . '';
-if ( ! empty( $_REQUEST['s'] ) )
+}
+if ( ! empty( $_REQUEST['s'] ) ) {
printf( ' ' . __('Search results for “%s”') . '', get_search_query() );
+}
+if ( !empty( $_REQUEST['m'] ) || !empty( $_REQUEST['cat']) || !empty( $_REQUEST['author'] ) ) {
+ $post_filters = array();
+ if ( !empty( $_REQUEST['cat'] ) ) {
+ $post_filters[] = single_cat_title( '', false );
+ }
+ if ( !empty( $_REQUEST['author'] ) ) {
+ $post_filters[] = get_user_meta( $_REQUEST['author'], 'nickname', true );
+ }
+ if ( !empty( $_REQUEST['m'] ) ) {
+ /* translators: 1: month name, 2: 4-digit year */
+ $post_filters[] = sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( substr( $_REQUEST['m'], 4, 2 ) ), substr( $_REQUEST['m'], 0, 4 ) );
+ }
+ printf( ' ' . __('Showing posts from: %s') . '', implode(', ', $post_filters ) );
+}
?>
authors_dropdown( $this->screen->post_type );
+
/**
* Fires before the Filter button on the Posts and Pages list tables.
*