WordPress.org

Make WordPress Core

Ticket #21856: 21856.diff

File 21856.diff, 499 bytes (added by egower, 6 years ago)
  • wp-admin/includes/class-wp-posts-list-table.php

     
    199199?>
    200200                <div class="alignleft actions">
    201201<?php
    202                 if ( 'top' == $which && !is_singular() ) {
     202                if ( 'top' == $which && !is_singular() && $this->has_items() ) {
    203203
    204204                        $this->months_dropdown( $this->screen->post_type );
    205205