[wp-trac] [WordPress Trac] #8873: Dead query code
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 17 00:01:41 GMT 2009
#8873: Dead query code
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.8
Severity: normal | Keywords: p page_id query_vars dead-code has-patch
--------------------------+-------------------------------------------------
Currently {{{$q['p']}}} is set to {{{$q['page_id']}}}, but {{{$q}}} is not
a global variable, not returned, not passed to a filter, and {{{$q['p']}}}
is not referred to again in that method, so the code does nothing.
Patch removes it.
--
Ticket URL: <http://trac.wordpress.org/ticket/8873>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list