mirror of
git://develop.git.wordpress.org/
synced 2025-04-11 07:37:17 +02:00
Add check to `redirect_canonical()` to ensure the destination post is not using a private post status. Props dd32, Denis-de-Bernardy, donmhico, helen, nacin, peterwilsoncc, pishmishy, TimothyBlynJacobs, tzafrir, Viper007Bond, whyisjake. Fixes #5272. git-svn-id: https://develop.svn.wordpress.org/trunk@49563 602fd350-edb4-49c9-b593-d223f7449a82