[wp-trac] [WordPress Trac] #16323: Hierarchical CPTs without a custom query_var 404
WordPress Trac
noreply at wordpress.org
Fri Aug 30 08:07:07 UTC 2013
#16323: Hierarchical CPTs without a custom query_var 404
-------------------------------------+---------------------
Reporter: jrcowher | Owner: duck_
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Query | Version: 3.0.4
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing |
-------------------------------------+---------------------
Changes (by duck_):
* owner: => duck_
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25182"]:
{{{
#!CommitTicketReference repository="" revision="25182"
Correct rewrite tag for hierarchical post types without a query_var.
Hierarchical rewrite rules operate via the 'pagename' query variable which
is
passed to get_page_by_path(). However, the current rewrite rules use the
'name'
query variable for hierarchical types without a custom query_var.
Fixes #16323.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16323#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list