[wp-trac] Re: [WordPress Trac] #4073: get_posts: add query hooks
(but only apply to non-admin user)
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 4 03:50:46 GMT 2007
#4073: get_posts: add query hooks (but only apply to non-admin user)
---------------------------------+------------------------------------------
Reporter: kevinB | Owner: markjaquith
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: get_posts has-patch |
---------------------------------+------------------------------------------
Comment (by kevinB):
'''Correction:''' The attached patch applies query filters only for non-
admin URIs ( ! is_admin ), not based on current user role as the title and
description imply.
Either approach would work for me, though I would feel better about basing
it on a current user role / cap.
--
Ticket URL: <http://trac.wordpress.org/ticket/4073#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list