WordPress/wp-includes
Boone Gorges cfab9716e3 Use __trashed suffix rather than -%trashed% for trashed post slugs.
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
2016-04-07 19:22:28 +00:00
..
2016-04-01 21:13:29 +00:00
2015-06-28 00:17:25 +00:00
2016-03-10 05:37:27 +00:00
2015-06-28 15:27:24 +00:00
2015-09-26 07:04:28 +00:00
2016-03-10 05:37:27 +00:00
2016-03-10 05:37:27 +00:00
2015-12-06 21:50:25 +00:00
2016-03-10 05:37:27 +00:00
2016-03-10 05:37:27 +00:00
2016-03-10 05:37:27 +00:00
2015-06-16 20:01:25 +00:00