Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22993, comment 10


Ignore:
Timestamp:
01/31/2014 09:25:07 PM (11 years ago)
Author:
spmlucas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22993, comment 10

    initial v1  
    22
    33I left count_users() alone but I suppose it could also be easily updated to include a count for users with no role if that's deemed necessary. Went with a NOT REGEXP to find users with no role, even if they have other capabilities defined. Have not tested in multisite, but have no reason to believe it won't work there.
     4
     5Edit: use 22993.2.diff below - I somehow fat-fingered a change to setup_userdata() in the first diff :\