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

WordPress Trac noreply at wordpress.org
Thu Feb 19 21:03:28 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:  needs-patch      |     Focuses:
-----------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:   => needs-patch


Comment:

 Cool - this sounds good, desrosj.

 I'm positive that this has been mentioned in past Trac tickets, but I'm
 having a hard time finding it. I'd say that, before starting anything,
 it's a good idea to do some ticket archaeology. If past discussions have
 taken place on the subject of user taxonomies, it'd be good to read them
 over first. I know that there are also some existing plugins that add user
 taxonomies, so it may be a good idea to look them over - if not for the
 purposes of reusing code, then at least for studying the parts of the
 taxonomy API they've seen fit to replicate/build out for user taxonomies.

 Regarding patching: let's start very modest. I think that the first two
 bullet points that you've outlined are probably the absolute minimum that
 would be required to justify a 'tax_query' param in `WP_User_Query`. Maybe
 best to start with those? The profile.php bit, theme template support, and
 your users.php suggestions are probably not required for a first pass, and
 may even be best in a plugin (especially the dropdown filters - we don't
 even offer this with posts). 'show_admin_column' support would be pretty
 nice, though, and would give good parity with post taxonomies.

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


More information about the wp-trac mailing list