[wp-trac] [WordPress Trac] #31383: Add WP_Tax_Query support to WP_User_Query

WordPress Trac noreply at wordpress.org
Thu Feb 19 20:50:43 UTC 2015


#31383: Add WP_Tax_Query support to WP_User_Query
-----------------------------+-----------------------------
 Reporter:  desrosj          |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Query            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------

Comment (by desrosj):

 Replying to [comment:1 boonebgorges]:
 > - When you register a taxonomy with 'user' as the object type, the
 taxonomy's UI should appear under the 'Users' menu in the Dashboard
 > - We should examine whether we need a user-specific generic
 'update_count_callback', along the lines of '_update_post_term_count()'
 for post types. (I think we probably would, because we'd want, eg, spammed
 users to be excluded from term counts.)
 I agree with both of these. Definitely would need this for a round one.
 > - Built-in UI for managing user tax terms on profile.php (maybe?)
 We would have to consider the differences between hierarchical and non-
 hierarchical taxonomies. Could potentially be two different interfaces
 like categories and tags, but I like putting it on profile.php.

 Another thing to consider is additions to the users.php page.
 - Adding a column for the taxonomy based on 'show_admin_column' argument.
 - Whether to add dropdown filters.

 I can take a first stab at this if you think it has potential for good
 direction.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31383#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list