Wordpress/tests/phpunit/tests
Jake Spurlock 1f5525d2ff Shortcodes: Improve handling from shortcode_parse_attts().
Ensure consistency between `shortcode_parse_attts()` when being used directly.

Props mauteri, birgire, SergeyBiryukov, kadamwhite, whyisjake.
Fixes #47863.



git-svn-id: https://develop.svn.wordpress.org/trunk@46369 602fd350-edb4-49c9-b593-d223f7449a82
2019-10-01 03:41:58 +00:00
..
actions Code is Poetry. 2017-11-30 23:09:33 +00:00
admin Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
ajax Tests: Add an xdebug group for tests that require xdebug. 2019-08-19 02:17:50 +00:00
attachment Code is Poetry. 2017-11-30 23:09:33 +00:00
blocks Blocks: Allow for nested the_content calls within do_blocks(). 2019-04-08 06:53:14 +00:00
bookmark General: Fix existing coding standard violations in bookmark tests, as outlined in [44546]. 2019-01-10 21:16:49 +00:00
canonical Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
category Taxonomy: Make sure wp_list_categories() correctly outputs term name of 0. 2018-09-02 22:08:05 +00:00
comment Comments: Avoid PHP notice in get_comment_reply_link() for null comment. 2019-09-27 14:45:49 +00:00
customize Twenty Twenty: Rename widget areas to sidebar-1 and sidebar-2. 2019-09-23 23:16:59 +00:00
date Date/Time: Introduce get_post_datetime() to retrieve post published or modified time as a DateTimeImmutable object instance. 2019-09-17 11:13:25 +00:00
db Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
dependencies Docs: Format multi-line comment in [46180] per the documentation standards. 2019-09-19 11:39:01 +00:00
editor Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
error-protection Bootstrap/Load: Allow more than one recovery link to be valid at a time. 2019-04-16 05:08:16 +00:00
external-http Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
feed Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
filesystem Tests: Add missing parent::setUp() calls to all test classes. 2019-01-14 04:54:01 +00:00
formatting Comments: Add rel="nofollow ugc" attribute to links in comments. 2019-09-30 01:29:10 +00:00
functions Tests: Correct assertion in test_wp_validate_boolean() to make sure the return type is properly tested. 2019-09-21 10:28:53 +00:00
general Themes: Add a test to ensure get_template_part() does not return a value. 2019-09-26 20:25:59 +00:00
hooks Code Modernisation: Introduce the spread operator in tests/phpunit/*. 2019-09-15 11:03:45 +00:00
http Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
image Media: Improve handling of cases where an uploaded image matches exactly a defined intermediate size. In most of these cases the original image has been edited by the user and is "web ready", there is no need for an identical intermediate image. 2019-09-07 01:33:16 +00:00
import Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
includes Bootstrap/Load: After [45016], make sure wp_die() does not cause _doing_it_wrong() notices if called before $wp_query global is set. 2019-04-15 23:48:11 +00:00
l10n I18N: Add support for custom WP_PLUGIN_URL in load_script_textdomain(). 2019-07-27 12:43:56 +00:00
link Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
load Bootstrap: Enhance core's memory limit handling. 2016-07-08 14:36:37 +00:00
media Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
menu Menus: Nav menu locations should not be integers. 2019-09-13 17:57:57 +00:00
meta Query: Expand the list of operators available to compare_key in WP_Meta_Query. 2019-09-19 15:02:20 +00:00
multisite Coding Standards: Remove inline assignments and extra whitespace in tests/multisite/network.php. 2019-09-29 12:21:29 +00:00
oembed Tests: Add an xdebug group for tests that require xdebug. 2019-08-19 02:17:50 +00:00
option Administration: Adjust [45814] to address a backward compatibility issue for plugins passing multiple CSS classes to add_settings_error(). 2019-08-22 00:21:49 +00:00
pomo Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
post Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
privacy Privacy: Introduce wp_privacy_personal_data_email_to and wp_privacy_personal_data_email_subject filters. 2019-09-23 19:24:20 +00:00
query Query: Expand the list of operators available to compare_key in WP_Meta_Query. 2019-09-19 15:02:20 +00:00
rest-api Tests: Correct ::assertArrayHasKey() capitalization in [46252]. 2019-09-26 20:30:35 +00:00
rewrite Tests: Add missing parent::setUp() calls to all test classes. 2019-01-14 04:54:01 +00:00
taxonomy Tests: Add missing parent::setUp() calls to all test classes. 2019-01-14 04:54:01 +00:00
term Coding Standards: Remove inline assignment in test_wp_delete_term_should_invalidate_cache(). 2019-09-26 01:33:44 +00:00
theme Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
url Privacy: Introduce Privacy Policy page helpers: 2019-03-21 19:47:29 +00:00
user Users: Make wp_list_authors() unit tests more readable. 2019-08-14 15:35:19 +00:00
widgets Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
xmlrpc Date/Time: Update XML-RPC tests for invalid date input to account for a more consistent mysql2date() error handling in [45908]. 2019-08-29 16:43:28 +00:00
actions.php Code is Poetry. 2017-11-30 23:09:33 +00:00
adminbar.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
auth.php Users: Clean user cache in check_password_reset_key() tests. 2019-08-01 19:53:45 +00:00
avatar.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
basic.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
canonical.php Canonical: Ensure redirect query keys are URL encoded. 2019-04-08 01:09:01 +00:00
category.php Code is Poetry. 2017-11-30 23:09:33 +00:00
comment-submission.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
comment.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
compat.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
cron.php Cron: Ensure identical single events aren't scheduled less than 10min apart. 2019-03-16 06:41:23 +00:00
db.php Code Modernisation: Replace call_user_func_array() in tests/phpunit/tests/db.php with dynamic function calls. 2019-09-15 11:55:42 +00:00
dbdelta.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
dependencies.php Code is Poetry. 2017-11-30 23:09:33 +00:00
file.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
filters.php Code is Poetry. 2017-11-30 23:09:33 +00:00
functions.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
kses.php KSES: Add support for modern layout techniques in style attribute. 2019-09-22 22:16:19 +00:00
l10n.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
link.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
locale.php I18N: Following [45688], remove test for removed method. 2019-07-27 14:29:28 +00:00
mail.php Mail: Add a unit test to make sure wp_mail() does not duplicate the MIME-Version header added automatically by PHPMailer. 2019-09-14 21:34:51 +00:00
media.php Fix (unrelated) test after [46066]. 2019-09-05 22:52:29 +00:00
meta.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
multisite.php Fix PHP coding standards after [46251]. 2019-09-23 18:11:15 +00:00
pluggable.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
post.php REST API: Use delta comparison for floating date test added in [46279] to avoid race conditions. 2019-09-26 01:39:19 +00:00
query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-api.php Tests: Remove a test for rest_preload_api_request() only relevant for PHP 5.2. 2019-09-20 22:26:18 +00:00
rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
shortcode.php Shortcodes: Improve handling from shortcode_parse_attts(). 2019-10-01 03:41:58 +00:00
site-health.php Site Health Check: New tests file missed in [45801]. 2019-08-15 00:36:38 +00:00
taxonomy.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
template.php PHPCS: Remove extra spaces added in [44966]. 2019-03-21 20:19:16 +00:00
term.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
theme.php Bundled Themes: Make Twenty Twenty the new default theme. 2019-09-23 20:59:48 +00:00
upload.php Code is Poetry. 2017-11-30 23:09:33 +00:00
url.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
user.php Users: Adjust [45708] to make sure wp_update_user() does not issue a WP_Error if a single site was previously set up as Multisite and there's still a spam field in the user table. 2019-08-22 01:52:16 +00:00
walker.php Code is Poetry. 2017-11-30 23:09:33 +00:00
widgets.php Code Modernisation: Replace call_user_func_array() in wp-admin/includes/widgets.php and associated unit tests with a direct function call. 2019-09-15 11:40:08 +00:00
wp.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00