[wp-trac] [WordPress Trac] #31383: Add WP_Tax_Query support to WP_User_Query
WordPress Trac
noreply at wordpress.org
Thu Apr 2 22:52:01 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:
-----------------------------+-----------------------------
Comment (by desrosj):
Patch above accomplishes the following:
* Shows menu items for taxonomies registered to users linking to a
taxonomy management screen.
* Allows the {{{'tax_query'}}} parameter to be passed in a
{{{WP_User_Query}}} the same as {{{WP_Query}}} calls.
* Parses a url with a taxonomy's {{{query_var}}} populated into a query
(using slugs).
Still have a checklist of what remains, but wanted to post something to
show some progress and get feedback. I think the actual query aspect of
things is in great shape.
Remaining items:
* Menu items for taxonomies still need to be selected when on the
respective pages.
* Taxonomy management screens need to link to the user screen instead of
posts.
* Provide a way for terms to be applied to a user.
* A user-specific generic 'update_count_callback', along the lines of
'_update_post_term_count()' for post types.
* Show a column in the admin when {{{show_admin_column}}} is set to true.
Below is a quick example of what we could do on the user edit screen.
[[Image(https://dl.dropboxusercontent.com/u/2200339/WordPress%20Tickets
/user-taxomies.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31383#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list