diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 6c51f385df..135e385ac0 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -81,12 +81,14 @@ if ( is_month() ) { +get_results("SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts ORDER BY post_date DESC"); +if ( count($arc_result) ) { ?> +
+ +