Make WordPress Core


Ignore:
Timestamp:
07/25/2017 12:23:44 AM (8 years ago)
Author:
johnbillion
Message:

Users: Ensure that users with no role on a site are taken into consideration when listing users on Multisite.

This ensures that users who are a member of a site but have no role are correctly listed on the Users screen and can be filtered from the 'None' role filter.

Props tobi823, flixos90, scottlee

Fixes #36196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/user/countUsers.php

    r40564 r41138  
    5353    /**
    5454     * @ticket 22993
     55     * @ticket 36196
    5556     * @group multisite
    5657     * @group ms-required
     
    104105            'contributor'   => 1,
    105106            'subscriber'    => 1,
    106             'none'          => 0,
     107            'none'          => 2,
    107108        ), $count['avail_roles'] );
    108109
Note: See TracChangeset for help on using the changeset viewer.