Make WordPress Core

Changeset 34873


Ignore:
Timestamp:
10/06/2015 05:34:54 PM (9 years ago)
Author:
ocean90
Message:

MS Themes List Table: Fix inverted logic for displaying the "No items" message.

Fixes #25464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r34383 r34873  
    218218     */
    219219    public function no_items() {
    220         if ( ! $this->has_items )
     220        if ( $this->has_items ) {
    221221            _e( 'No themes found.' );
    222         else
     222        } else {
    223223            _e( 'You do not appear to have any themes available at this time.' );
     224        }
    224225    }
    225226
Note: See TracChangeset for help on using the changeset viewer.