[wp-trac] [WordPress Trac] #12647: $wp_query doesn't report the full pagename for nested pages
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 26 03:12:59 UTC 2010
#12647: $wp_query doesn't report the full pagename for nested pages
--------------------------+-------------------------------------------------
Reporter: dphiffer | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Changes (by nacin):
* owner: => ryan
* component: General => Query
* milestone: Unassigned => Future Release
Comment:
This is how WP_Query is written. It overrides pagename (full path) with
just the page name itself.
Perhaps we should store the original full path in another var, or allow
pagename to take optionally the page name only, not requiring the full
path. Not sure how doable the latter is.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12647#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list