Percent signs are reserved characters in URIs. As such, it was impossible for plugins to route requests to trashed posts, as happens in bbPress. The new `__trashed` suffix should be sufficiently unique. Also adds a test that demonstrates that the `__trashed` suffix can be appended to slugs that contain the suffix somewhere other than the end of the string. Props netweb, ericlewis. Fixes #11863. Built from https://develop.svn.wordpress.org/trunk@37165 git-svn-id: http://core.svn.wordpress.org/trunk@37132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
202 KiB
202 KiB