[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 22:14:32 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):
Re: rob1n comment on #4070
(http://trac.wordpress.org/ticket/4070#comment:4)
I guess it comes down to a documentation issue for theme / plugin
developers.
Themes which use get_posts to display "recent posts" sidebars will be
incompatible with plugins that do access control by query filtering.
Themes which care to support such plugin functionality should use
query_posts instead.
--
Ticket URL: <http://trac.wordpress.org/ticket/4073#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list