wordpress-develop/tests/phpunit/tests
K. Adam White fc434a0c77 REST API: Match REST API routes on namespace before performing regex checks.
Rule out groups of API endpoints by simple namespace string comparison to reduce the number of regex checks necessary when matching a route.

Props TimothyBlynJacobs.
Fixes #48530.


git-svn-id: https://develop.svn.wordpress.org/trunk@47260 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-11 03:20:05 +00:00
..
actions Code is Poetry. 2017-11-30 23:09:33 +00:00
admin Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ajax Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
attachment Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
blocks Editor: Add unit tests for v5.3.1 block serialization functions 2019-12-19 18:48:49 +00:00
bookmark Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
canonical Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +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 Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
customize Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
date Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
db Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
dependencies Script Loader: Add polyfill for window.URL, window.DOMRect. 2020-02-10 15:15:07 +00:00
editor Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
error-protection Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
external-http Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
filesystem Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
formatting Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
functions Tests: Add a basic test for wp() function. 2020-02-08 05:29:54 +00:00
general Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
hooks Code Modernisation: Introduce the spread operator in tests/phpunit/*. 2019-09-15 11:03:45 +00:00
http Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
image Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
import Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
includes Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
l10n Tests: Change a few remaining include_once statements to require_once, for consistency. 2020-02-06 21:40:05 +00:00
link Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +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: Change a few remaining include_once statements to require_once, for consistency. 2020-02-06 21:40:05 +00:00
meta Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
multisite Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
oembed Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
option Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
pomo Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
post Posts, Post Types: Add default menu_icon values for built-in post types. 2020-02-05 22:38:11 +00:00
privacy Privacy: Give progress indication for export and erasure. 2020-02-10 20:17:58 +00:00
query Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
rest-api REST API: Match REST API routes on namespace before performing regex checks. 2020-02-11 03:20:05 +00:00
rewrite Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
taxonomy Tests: Add missing parent::setUp() calls to all test classes. 2019-01-14 04:54:01 +00:00
term Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
theme Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
url Privacy: Introduce Privacy Policy page helpers: 2019-03-21 19:47:29 +00:00
user Tests: Change a few remaining include_once statements to require_once, for consistency. 2020-02-06 21:40:05 +00:00
widgets Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
xmlrpc Tests: Adjust XML-RPC unit tests for [47160]. 2020-02-02 04:07:50 +00:00
actions.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
adminbar.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
auth.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
avatar.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
basic.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
cache.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
canonical.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
category.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
comment-submission.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
comment.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
compat.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
cron.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
db.php Tests: Allow wpdb::set_sql_mode() tests to run on MySQL 8.0.11+. 2020-02-05 03:28:33 +00:00
dbdelta.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
dependencies.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
file.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
functions.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
kses.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
l10n.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
link.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
locale.php I18N: Following [45688], remove test for removed method. 2019-07-27 14:29:28 +00:00
mail.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
media.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
meta.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
multisite.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
pluggable.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
post.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31: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: Introduce selective link embedding. 2020-02-09 20:52:06 +00:00
rewrite.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
shortcode.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
site-health.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
taxonomy.php Taxonomy: In register_taxonomy(), return the registered taxonomy object on success, for consistency with register_post_type(). 2020-02-05 06:24:16 +00:00
template.php PHPCS: Remove extra spaces added in [44966]. 2019-03-21 20:19:16 +00:00
term.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
theme.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
upload.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
url.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
user.php Privacy: Include session tokens in Personal Data Export. 2020-02-10 05:42:52 +00:00
walker.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
widgets.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
wp.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00