mirror of
git://develop.git.wordpress.org/
synced 2025-04-09 22:53:35 +02:00
This largely reverts [49563] due to attachment pages returning 404: File not found errors when they use the `inherit` status. Permalink changes to attachment pages are retained when they are descendants of trashed or deleted posts. Props Toro_Unit, helen, johnbillion, peterwilsoncc. Fixes #51776. See #5272. git-svn-id: https://develop.svn.wordpress.org/trunk@49622 602fd350-edb4-49c9-b593-d223f7449a82