[wp-trac] [WordPress Trac] #21970: 404 error when a post has the same slug as with a deleted (trash) page.
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 23 02:42:51 UTC 2012
#21970: 404 error when a post has the same slug as with a deleted (trash) page.
--------------------------+------------------------------
Reporter: janintia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: needs-patch => has-patch
Comment:
Related: #21298
Perhaps `get_page_by_path()` should not return trashed pages.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21970#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list