[wp-trac] [WordPress Trac] #37837: Extend WP_Query author parameters to filter by role
WordPress Trac
noreply at wordpress.org
Thu Mar 30 17:01:43 UTC 2017
#37837: Extend WP_Query author parameters to filter by role
-----------------------------+------------------------------
Reporter: jadpm | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by nitya99):
Can't imagine wp_query doesn't query posts by user role. All the user
generated directory or blog websites I builds (different user roles with
different capabilities), has this limit.[[BR]]
We can't just get all the 5000+ user ids by role and then query the posts
by those user ids.
I think query posts by author role must be added to the core wp_query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37837#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list