WordPress tries to avoid an issue where slugs might match an existing slug of a page/post. If we are in a hierarchical post type, there will be a level, and we can leave it the same. Props stormrockwell, SergeyBiryukov, terriann, tubys, jeremyfelt, Daschmi, MaximeCulea, knutsp, whyisjake. Fixes #51147. See also #44112 and #45260. Built from https://develop.svn.wordpress.org/trunk@51855 git-svn-id: http://core.svn.wordpress.org/trunk@51454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
33 KiB
33 KiB