[wp-trac] [WordPress Trac] #8905: Category pagination broken with certain permalink structures
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 2 19:08:29 UTC 2009
#8905: Category pagination broken with certain permalink structures
--------------------------+-------------------------------------------------
Reporter: rmccue | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Permalinks | Version: 2.7
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by emartin24):
Ran into this issue today - would love to see a fix.
I'm not sure if it is as simple as putting some extra logic in
parse_request()? Using Doug Smith's code as inspiration, I added the
following right before $this->query_vars = apply_filters('request',
$this->query_vars); :
{{{
if ($this->query_vars['name'] === 'page' &&
isset($this->query_vars['page'])) {
unset($this->query_vars['name']);
$this->query_vars['paged'] = str_replace('/', '',
$this->query_vars['page']);
}
}}}
Thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8905#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list