WordPress.org

Make WordPress Core

Changeset 16794


Ignore:
Timestamp:
12/08/2010 09:28:20 AM (7 years ago)
Author:
nacin
Message:

Fix logic inversion. see #15699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-users-list-table.php

    r16775 r16794  
    1414    function WP_Users_List_Table() {
    1515        $screen = get_current_screen();
    16         $this->is_site_users = ( 'site-users-network' == $screen->id ) ? true : false;
     16        $this->is_site_users = 'site-users-network' == $screen->id;
    1717
    1818        if ( $this->is_site_users )
     
    181181    function display_rows() {
    182182        // Query the post counts for this page
    183         if ( $this->is_site_users )
     183        if ( ! $this->is_site_users )
    184184            $post_counts = count_many_users_posts( array_keys( $this->items ) );
    185185
Note: See TracChangeset for help on using the changeset viewer.