[wp-trac] [WordPress Trac] #20065: Spoiled page structure in new WP version
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 18 05:59:11 UTC 2012
#20065: Spoiled page structure in new WP version
--------------------------+----------------------
Reporter: tazogamer | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Changes (by dd32):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
> i.e. /company/%postname% and published page will be
www.mysite.com/company/testpage but now it publishes all posts at
www.mysite.com/testpage
The permalink settings only apply to posts, they have never applied to
pages. Pages are always published starting from /. If you have a page
parent called 'company' and you make this page a child of that, then it'll
be /company/testpage.
> $_getpage_id?=testpage;
> can't get the page's(testpage) content? it did in earlier versions.
As explained in the last ticket, page_id only accepts the page ID. To pass
a page slug, you are required to use the 'pagename' parameter.
If either of these worked in a earlier version, it was unexpected buggy
behaviour.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20065#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list