[wp-trac] Re: [WordPress Trac] #5487: query.php mistakenly uses
is_admin() to check for admin privileges
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 27 23:51:25 GMT 2007
#5487: query.php mistakenly uses is_admin() to check for admin privileges
---------------------------------------------------+------------------------
Reporter: pishmishy | Owner: pishmishy
Type: defect | Status: reopened
Priority: high | Milestone: 2.3.2
Component: Security | Version: 2.3.1
Severity: major | Resolution:
Keywords: query is_admin has-patch dev-feedback |
---------------------------------------------------+------------------------
Changes (by markjaquith):
* status: closed => reopened
* resolution: fixed =>
Comment:
{{{$wp_query->is_admin}}} (the var) is checked in some places and is still
using the old logic instead of the {{{is_admin()}}} function. Shouldn't
we fix that too? See patch.
--
Ticket URL: <http://trac.wordpress.org/ticket/5487#comment:15>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list