[wp-trac] [WordPress Trac] #49418: Ability to order users by number of posts in custom post type
WordPress Trac
noreply at wordpress.org
Wed Feb 12 13:07:15 UTC 2020
#49418: Ability to order users by number of posts in custom post type
-------------------------+-----------------------------
Reporter: meevly | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: trivial | Keywords:
Focuses: |
-------------------------+-----------------------------
When searching for users by post_count, post type `post` is hardcoded in
`WP_User_Query` class at line 765. I would like to suggest adding a
parameter that allows sorting users by post count in a custom post type.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49418>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list