wordpress-develop/tests/phpunit/tests/functions
Joe Dolson b9adbb33da Login and Registration: Improve HTML for errors and notices.
Improve markup on Login and Registration errors. Use list markup for multiple issues, paragraph when only one to reduce semantic burden in the most common case. Normalize classes and markup for wrapper using `wp_admin_notice()` and `wp_get_admin_notice()` functions. Move definition of those functions from `wp-admin\includes\misc.php` to `wp-includes\functions.php`. Move tests to functions group. 

Props extendwings, sabernhardt, afercia, lukecavanagh, rianrietveld, oglekler, sergeybiryukov, costdev, joedolson.
Fixes #30685.

git-svn-id: https://develop.svn.wordpress.org/trunk@56654 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-21 18:22:10 +00:00
..
addMagicQuotes.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
allowedProtocols.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
anonymization.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
canonicalCharset.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
cleanDirsizeCache.php Docs: Align spelling with American English. 2022-10-21 21:10:29 +00:00
cleanupHeaderComment.php Docs: Use third-person singular verbs in some test descriptions in phpunit/tests/functions/. 2022-02-21 14:50:07 +00:00
doEnclose.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
getNonCachedIds.php Coding Standards: Always use parentheses for class instantiation. 2023-07-22 12:35:15 +00:00
getStatusHeaderDesc.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
getWeekstartend.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
isNewDay.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
isPhpVersionCompatible.php Code Modernization: Replace phpversion() function calls with PHP_VERSION constant. 2022-05-20 17:36:23 +00:00
isSerialized.php Tests: Bring some consistency to serialization tests. 2022-08-13 12:09:41 +00:00
isSerializedString.php Tests: Bring some consistency to serialization tests. 2022-08-13 12:09:41 +00:00
isWpVersionCompatible.php Tests, Build Tools: Improve version compatibility tests. 2022-04-21 01:00:24 +00:00
listFiles.php Filesystem API: Allow optional inclusion of hidden files in list_files(). 2023-06-27 16:06:16 +00:00
maybeSerialize.php External Libraries: Update Requests library to version 2.0.0. 2022-12-15 21:30:26 +00:00
numberFormatI18n.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
pluginBasename.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
referer.php General: Ignore invalid types for the '_wp_http_referer' URL query variable. 2023-06-29 23:25:38 +00:00
removeQueryArg.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
sizeFormat.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
underscoreReturn.php Tests: Add missing @covers tags for files in phpunit/tests/functions/. 2020-09-19 15:52:03 +00:00
wp.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
wpAdminNotice.php Login and Registration: Improve HTML for errors and notices. 2023-09-21 18:22:10 +00:00
wpArrayGet.php Docs: Use third-person singular verbs in some test descriptions in phpunit/tests/functions/. 2022-02-21 14:50:07 +00:00
wpArraySet.php Docs: Use third-person singular verbs in some test descriptions in phpunit/tests/functions/. 2022-02-21 14:50:07 +00:00
wpArraySliceAssoc.php Docs: Use third-person singular verbs in some test descriptions in phpunit/tests/functions/. 2022-02-21 14:50:07 +00:00
wpAuthCheck.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
wpCheckAlternateFileNames.php Build/Test Tools: Add tests coverage for _wp_check_alternate_file_names(). 2022-10-08 09:16:35 +00:00
wpCheckFiletype.php Build/Test Tools: Add wp_check_filetype() unit tests. 2023-03-02 21:03:15 +00:00
wpFilesize.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
wpFilterObjectList.php Coding Standards: Add missing visibility keywords for wp_filter_object_list() and wp_list_pluck() tests. 2021-08-26 16:50:02 +00:00
wpFuzzyNumberMatch.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
wpGetAdminNotice.php Login and Registration: Improve HTML for errors and notices. 2023-09-21 18:22:10 +00:00
wpGetArchives.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
wpGetMimeTypes.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
wpGuessUrl.php Tests: Rename the test for wp_guess_url() to match the function name. 2022-09-13 20:38:56 +00:00
wpIsNumericArray.php Tests: Remove the formatting group from wp_is_numeric_array() tests. 2021-11-08 17:07:49 +00:00
wpListFilter.php General: Compare values as strings in WP_List_Util::filter() and ::sort_callback(). 2023-07-05 10:44:20 +00:00
wpListPluck.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
wpListSort.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
wpListUtil.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
wpNonceAys.php Tests: Add unit tests for the wp_nonce_ays() function. 2021-08-13 14:00:05 +00:00
wpNonceField.php Tests: Correct a flaky wp_nonce_field() test. 2022-12-19 14:43:02 +00:00
wpNonceUrl.php Build/Test tools: Add tests for wp_nonce_url(). 2022-10-07 02:49:24 +00:00
wpRefererField.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/functions/wpRefererField.php. 2023-01-24 15:53:46 +00:00
wpRemoteFopen.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
wpToKebabCase.php Docs: Use third-person singular verbs in some test descriptions in phpunit/tests/functions/. 2022-02-21 14:50:07 +00:00
wpTriggerError.php General: Introduce wp_trigger_error(). 2023-09-06 22:06:26 +00:00
wpValidateBoolean.php Coding Standards: Remove extra alignment level in the data provider for wp_validate_boolean() tests. 2022-05-01 16:22:58 +00:00
xmlrpc.php Tests: Add unit tests for some XML-RPC functions: 2022-05-02 00:11:35 +00:00