Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22212, comment 44


Ignore:
Timestamp:
09/21/2015 01:09:04 PM (9 years ago)
Author:
tifosi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22212, comment 44

    initial v1  
    1 Was considering logging an enhancement for the 'role' arg in WP_User_Query until I found this and saw that you were considering the 'role__in' argument for 4.4+.
     1Was considering logging an enhancement for the 'role' arg in WP_User_Query until I found this and saw that you were considering the 'role_in'argument for 4.4+.
    22
    33I'm looking for the reverse where I can get all users those with a particular role, e.g. all except administrators. Useful for custom plugin user listing screens.
    44
    5 Would welcome also the role__not_in argument as well. Would bring it in line with WP_Query and it's __in & __not_in query parameters.
     5Would welcome also the role_not_in argument as well. Would bring it in line with WP_Query and it's _in & _not_in query parameters.
     6
     7Damn editor doesn't like double underscores!
    68
    79Thanks