Wordpress/tests/phpunit/tests/rewrite
Sergey Biryukov 0058968499 Canonical / Query: Restore the `is_404()` check in `wp_old_slug_redirect()` which was removed in [34659].
This reverts part of [34659] due to excessive canonical problems it's caused in 4.4.x.

Remove the unit tests which are no longer supported.
This also removes the `is_feed()` code to avoid confusion - only pages & embeds will be redirected.

Merges [36280] and [36281] to trunk.

Props dd32.
See #21602, #35344.

git-svn-id: https://develop.svn.wordpress.org/trunk@37075 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 21:53:44 +00:00
..
addRewriteEndpoint.php
addRewriteRule.php
numericSlugs.php Correct some more tests which were using `example.org` instead of `WP_TESTS_DOMAIN`. 2016-02-26 00:25:10 +00:00
oldSlugRedirect.php Canonical / Query: Restore the `is_404()` check in `wp_old_slug_redirect()` which was removed in [34659]. 2016-03-23 21:53:44 +00:00
permastructs.php Unit Tests: Fix the unit test added in [36181] to include the index in the comparison. 2016-01-06 08:09:51 +00:00
rewriteTags.php Tests: Fix unit tests after [36217]. 2016-01-07 10:16:47 +00:00