mirror of
git://develop.git.wordpress.org/
synced 2025-03-18 19:09:47 +01:00
After [34659], it became possible to cause an incorrect redirect, by changing the slug of a post, then creating a new post with the old slug. The correct behaviour is to prevent redirecting to the old post. Props dd32, pento. Merge of [36128] to the 4.4 branch. Fixes #35031. git-svn-id: https://develop.svn.wordpress.org/branches/4.4@36129 602fd350-edb4-49c9-b593-d223f7449a82