[wp-trac] [WordPress Trac] #21970: 404 error when a post has the same slug as with a deleted (trash) page.
WordPress Trac
noreply at wordpress.org
Wed Oct 17 11:09:59 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 needs-unit-tests |
----------------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch => has-patch needs-unit-tests
Comment:
[attachment:21970.diff] looks good to me.
[attachment:21970.2.diff] also handles the similar block in
`url_to_postid()`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21970#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list