[wp-trac] [WordPress Trac] #14330: Multiple Post Type in Page Query Problem
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 19 15:42:49 UTC 2010
#14330: Multiple Post Type in Page Query Problem
--------------------------+-------------------------------------------------
Reporter: loushou | Owner: loushou
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.0
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment(by loushou):
Hakre - excellent suggestion. Looks really good and does the same exact
thing. Wish I would have thought of that.
WpmuGuru - while that may work for the 'get_post' function, it will not
work for a regular url query string. In classes.php on line 224, while the
url params are getting looped over, we do not have a statement that will
explode each param on ',', however it does make use of:
{{{ parse_str($query, $perma_query_vars); }}}
which makes my query work. That being said, perhaps that notation should
be added to the patch as well. What does everyone think?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14330#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list