Wordpress/tests/phpunit/tests
Jake Spurlock f53a78fda7 Administration: Ensure that admin referer nonce is valid.
Coding standards, ensure that nonce is valid with identical, rather then equal operator.

Props vortfu, xknown, whyisjake.


git-svn-id: https://develop.svn.wordpress.org/trunk@46477 602fd350-edb4-49c9-b593-d223f7449a82
2019-10-14 15:38:14 +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 Menus: In Walker_Nav_Menu, Walker_Category, and Walker_Page, properly output link attributes having a legitimate "empty" value, for example an HTML data attribute with a value of zero (0). 2019-10-06 15:04:18 +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 Formatting: In wp_validate_redirect(), normalize the path when validating the location for relative URLs, to account for Windows paths. 2019-10-14 10:50:41 +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: Update fallback previews to support _wp_make_subsizes() 2019-10-11 07:52:12 +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 Tests: Use a consistent group for nav menu tests. 2019-10-06 15:12:42 +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 Themes: In get_theme_mod(), only run the sprintf() replacement on the default value if there's a string format pattern found in the value. 2019-10-05 00:53:39 +00:00
pomo Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
post Tests: Use a consistent group for nav menu tests. 2019-10-06 15:12:42 +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: Remove the static query property. 2019-10-14 15:18:49 +00:00
rest-api REST API: Do not addslash when receiving meta arrays of non-string values. 2019-10-09 17:34:20 +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 Tests: Use a consistent group for nav menu tests. 2019-10-06 15:12:42 +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 sure wp_logout() clears current user, so that a subsequent call to is_user_logged_in() works as expected. 2019-10-12 03:08:56 +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 Administration: Ensure that admin referer nonce is valid. 2019-10-14 15:38:14 +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 Tests: Rename tests methods in tests/pluggable.php per the handbook's naming convention. 2019-10-12 03:00:32 +00:00
post.php Pings/Trackbacks: Remove a failing test that won't pass as long as WP_IMPORTING gets set during tests. 2019-10-07 22:17:22 +00:00
query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-api.php REST API: Fix error in _fields filtering logic where only one of several requested sibling properties would be included. 2019-10-10 17:16:44 +00:00
rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
shortcode.php Docs: Adjust @since note in shortcode_parse_atts() for consistency with similar notes. 2019-10-12 02:48:26 +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 Tests: Use a consistent group for nav menu tests. 2019-10-06 15:12:42 +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