[wp-trac] [WordPress Trac] #15665: Page name won't work if the parent page has an attachment with the same name
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 29 11:49:20 UTC 2011
#15665: Page name won't work if the parent page has an attachment with the same
name
-------------------------------------------------+-------------------------
Reporter: designsimply | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: General | Release
Severity: normal | Version: 3.1
Keywords: has-patch needs-testing 3.2-early | Resolution:
needs-refresh |
-------------------------------------------------+-------------------------
Comment (by duck_):
#19683 was closed as a duplicate, apparently root level pages were not
susceptible to collisions prior to 3.3. This is might due to changes in
get_page_by_path(), see #16687.
Replying to [comment:3 westi]:
> I suspect the real fix here is to find out why we match attachment slugs
when looking up root level pages
get_page_by_path() queries for attachment as well as the specified post
type.
Related #17170.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15665#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list