Wordpress/tests/phpunit/tests/link
Gary Pendergast f418ee12b1 Link Template: In get_adjacent_post(), move the sanitisation of $excluded_terms earlier.
This is a followup to [42828], ensuring that the `get_{$adjacent}_post_excluded_terms` filter is always passed an array, as expected.

Props soulseekah, zottto.
Fixes #43521.



git-svn-id: https://develop.svn.wordpress.org/trunk@44591 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-15 01:53:02 +00:00
..
adminUrl.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getAdjacentPost.php Link Template: In get_adjacent_post(), move the sanitisation of $excluded_terms earlier. 2019-01-15 01:53:02 +00:00
getAdjacentPostLink.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getDashboardUrl.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getNextCommentsLink.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
getPostCommentsFeedLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getPostTypeArchiveLink.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getPreviewPostLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getPreviousCommentsLink.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
getThePrivacyPolicyLink.php Privacy: Use the actual Privacy Policy page title in get_the_privacy_policy_link(). 2018-07-18 11:49:46 +00:00
themeFile.php Tests: Skip symlinked theme file tests if symlink() is not available, e.g. in PHP 5.2.x on Windows. 2018-03-09 17:47:39 +00:00
wpGetCanonicalURL.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00