[wp-trac] [WordPress Trac] #10616: post queries are not working with custom permalinks
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 15 04:11:05 UTC 2009
#10616: post queries are not working with custom permalinks
--------------------------+-------------------------------------------------
Reporter: frumph | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Template | Version: 2.8.4
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Comment(by frumph):
Templates Attached.
http://myextralife.com/ is the website currently using 2.8 and it doesnt
work on it.
http://mofcomic.com/ is a website using 2.8 and it does work on it.
http://myextralife.com/ I had all plugins turned off and the plugin
directory cleared when testing.
* var_dumped $GLOBALS * var_dumped $wp->query_vars -- nada
* $archive_year = $GLOBALS['archive_year']; wasn't there cause wasnt found
in $globals.
Additional note: On the same site myextralife i'm doing a form post with
the $_GET and *THAT* works which is also a template. However doing <?php
echo add_query_arg('archive_year', $year) ?> does not.
Tried adding a public query_var using:
{{{
add_filter('query_vars', 'cp_add_query_vars');
function cp_add_query_vars( $qvars ){
$qvars[] = 'archive_year';
return $qvars;
}
}}}
ComicPress 2.8 (not released yet) http://comicpress.frumph.net/themes
/comicpress-rc2.zip
Additionally it only happens on one out of maybe 4 different sites using
the beta. This was functioning just fine before the 2.8ish releases as is
found at http://comicpress.org/
You can find me at philip at frumph.net or http://webcomicplanet.com/chat/
and I can show you on myextralife.com and put any var_dumps you want to
see what' it's doing.
(my extralife.com is currently using my band-aided version)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10616#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list