wordpress-develop/tests/phpunit/tests/functions
Dominik Schilling 0037aa1dd5 Plugins: In plugin_basename() sort plugin paths before resolving symlinks.
`arsort()` sorts the paths reverse-alphabetically while preserving the keys. It results in a longer path being listed before a shorter one with the same base directory(ies).

Props jdgrimes, ocean90.
Fixes #28441.

git-svn-id: https://develop.svn.wordpress.org/trunk@37983 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-06 09:44:58 +00:00
..
deprecated.php Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
getArchives.php Tests: Pre-declare the $year_url property before initialization in Tests_Get_Archives::setUp(). 2016-04-21 02:55:52 +00:00
getWeekstartend.php Add tests for get_weekstartend(). 2016-05-26 15:47:52 +00:00
listFilter.php Revert [35949]. 2015-12-15 19:49:43 +00:00
maybeDeclineDate.php I18N: Add tests for wp_maybe_decline_date(). 2016-07-05 16:09:01 +00:00
numberFormatI18n.php Tests: Add unit tests for number_format_i18n(). 2016-03-01 21:19:20 +00:00
pluginBasename.php Plugins: In plugin_basename() sort plugin paths before resolving symlinks. 2016-07-06 09:44:58 +00:00
referer.php Correct some more tests which were using example.org instead of WP_TESTS_DOMAIN. 2016-02-26 00:25:10 +00:00
removeQueryArg.php Add tests for remove_query_arg(). 2016-06-03 04:30:23 +00:00
sizeFormat.php General: Return "O B" when passing 0 to size_format(). 2016-07-05 10:35:24 +00:00
WpValidateBoolean.php Ignore case when checking string 'false' in wp_validate_boolean(). 2014-11-03 15:54:42 +00:00