[wp-trac] [WordPress Trac] #16323: Hierarchical CPTs without a custom query_var 404
WordPress Trac
noreply at wordpress.org
Fri Aug 30 07:49:18 UTC 2013
#16323: Hierarchical CPTs without a custom query_var 404
-------------------------------------+--------------------
Reporter: jrcowher | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Query | Version: 3.0.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------
Comment (by duck_):
We can also fix the rewrite rules so that a hierarchical rewrite tag will
use the pagename variable, see [attachment:16323.hierarchical-rewrite-
tag.diff]. The 'drawback' is that `get_page_by_path()` would be used for
all queries (though this is the same behaviour as pages).
Also, I think that the mapping should be done as well anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16323#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list