wordpress-develop/tests/phpunit/tests/canonical
Peter Wilson 64ad8eb332 Permalinks: Prevent attachment pages 404ing following [49563].
This largely reverts [49563] due to attachment pages returning 404: File not found errors when they use the `inherit` status.

Permalink changes to attachment pages are retained when they are descendants of trashed or deleted posts.

Props Toro_Unit, helen, johnbillion, peterwilsoncc.
Fixes #51776.
See #5272.



git-svn-id: https://develop.svn.wordpress.org/trunk@49622 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-17 03:27:07 +00:00
..
category.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
customRules.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
https.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
noRewrite.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
paged.php Canonical: Redirect paged requests for a static page assigned as the "Posts page". 2020-05-04 10:40:06 +00:00
pageOnFront.php Canonical: Redirect paged requests for a static page assigned as the "Posts page". 2020-05-04 10:40:06 +00:00
robots.php Canonical: Move trailing slash handling for robots.txt and sitemaps to a single condition. 2020-06-25 11:39:23 +00:00
sitemaps.php Sitemaps: Prevent incorrect redirection of paged sitemap requests. 2020-08-27 01:28:24 +00:00