wordpress-develop/tests/phpunit/tests/link
Sergey Biryukov b316c8b25f General: Replace all esc_url_raw() calls in core with sanitize_url().
This aims to improve performance by calling `sanitize_url()` directly, instead of the `esc_url_raw()` wrapper. As of WordPress 6.1, `sanitize_url()` is the recommended function for sanitizing a URL for database or redirect usage.

Follow-up to [11383], [13096], [51597], [53452].

Props benjgrolleau, peterwilsoncc, SergeyBiryukov.
Fixes #55852.

git-svn-id: https://develop.svn.wordpress.org/trunk@53455 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-01 18:12:25 +00:00
..
editTermLink.php Docs: Fix typo in some get_edit_term_link() test DocBlocks. 2021-12-02 05:39:57 +00:00
getAdjacentPost.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
getAdjacentPostLink.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
getDashboardUrl.php Tests: Add missing @covers tags for files in phpunit/tests/link/. 2021-02-28 17:09:39 +00:00
getEditTermLink.php Docs: Fix typo in some get_edit_term_link() test DocBlocks. 2021-12-02 05:39:57 +00:00
getFeedLink.php Feeds: Fix the URL returned by get_feed_link() when pretty permalinks are not in use. 2021-02-16 17:32:58 +00:00
getNextCommentsLink.php Tests: Replace assertContains() with assertStringContainsString() when used with strings. 2021-07-19 14:00:11 +00:00
getPostCommentsFeedLink.php Feeds: Avoid notices in get_post_comments_feed_link(). 2021-06-08 22:59:19 +00:00
getPostTypeArchiveLink.php Tests: Add missing @covers tags for files in phpunit/tests/link/. 2021-02-28 17:09:39 +00:00
getPreviewPostLink.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
getPreviousCommentsLink.php Tests: Replace assertContains() with assertStringContainsString() when used with strings. 2021-07-19 14:00:11 +00:00
getThePrivacyPolicyLink.php Tests: Replace assertContains() with assertStringContainsString() when used with strings. 2021-07-19 14:00:11 +00:00
selfAdminUrl.php Tests: Add missing @covers tags for files in phpunit/tests/link/. 2021-02-28 17:09:39 +00:00
themeFile.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:12:25 +00:00
wpGetCanonicalUrl.php Permalinks: Revert the changes stemming from pagination limits. 2021-06-08 23:31:46 +00:00