Wordpress/tests/phpunit/tests
Sergey Biryukov cded42aa94 Taxonomy: Rename the `default_taxonomy_$taxonomy` option key to `default_term_$taxonomy`.
This better reflects the purpose of the option.

Follow-up to [48356], [48480].

See #43517.

git-svn-id: https://develop.svn.wordpress.org/trunk@48665 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-28 15:40:35 +00:00
..
actions
admin Docs: Further corrections and improvements to various inline docblocks. 2020-07-23 07:37:57 +00:00
ajax Administration: Handle the result of `Plugin_Upgrader::bulk_upgrade()` for a plugin that is already at the latest version in the same way it is handled for themes. 2020-07-12 01:14:01 +00:00
attachment
blocks Editor: Support filtering arguments in block type registration 2020-07-01 13:08:11 +00:00
bookmark
canonical Canonical: Move trailing slash handling for `robots.txt` and sitemaps to a single condition. 2020-06-25 11:39:23 +00:00
category
comment General: Update code for readability and inclusion 2020-07-23 03:12:49 +00:00
customize Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`. 2020-07-14 01:28:17 +00:00
date
db Database: Introduce `wpdb::db_server_info()` to retrieve full MySQL server information string as supplied by `mysqli_get_server_info()`. 2020-03-12 15:53:01 +00:00
dependencies Tests: Ignore EOL differences in some tests using multiline string assertions. 2020-07-14 01:40:33 +00:00
editor
error-protection
external-http
feed Coding Standards: Use strict type check for `in_array()` in `wp-includes/feed.php`. 2020-07-11 12:12:46 +00:00
filesystem Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
formatting Media: Remove accents in `sanitize_file_name()`. 2020-07-24 18:01:48 +00:00
functions Pings/Trackbacks: Avoid a PHP notice in `do_enclose()` when encountering a URL without a path in post content. 2020-07-26 14:06:03 +00:00
general Themes: Allow template loading functions to pass additional arguments to the template via the `$args` parameter. 2020-07-07 11:00:21 +00:00
hooks
http Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
image Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`. 2020-07-14 01:28:17 +00:00
import Comments: Ensure all elements in the array returned by `get_comment_count()` are integers. 2020-03-28 20:42:31 +00:00
includes
l10n Tests: Change a few remaining `include_once` statements to `require_once`, for consistency. 2020-02-06 21:40:05 +00:00
link Tests: Copy themes from `tests/phpunit/data` to `wp-content/themes`, instead of creating a symlink. 2020-07-14 00:32:36 +00:00
load
media
menu Menus: Allow empty taxonomy terms to be surfaced when searching for items. 2020-05-02 22:34:50 +00:00
meta Meta: Reorder the get_metadata_default() signature to match get_metadata(). 2020-07-17 02:57:04 +00:00
multisite Multisite: Delete the signup entry when a user is deleted from the database. 2020-07-05 11:19:35 +00:00
oembed Embeds: Ensure that classic embed support works in the block editor. 2020-06-23 06:06:11 +00:00
option
pomo Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
post Tests: Add more fixtures to `get_lastpostdate()` and `get_lastpostmodified()` tests. 2020-07-27 11:15:04 +00:00
privacy Privacy: Simplify the logic for updating the meta values for personal data export requests from absolute to relative paths. 2020-07-06 00:32:15 +00:00
query Posts, Post Types: Simplify `test_setup_postdata_loop()`. 2020-06-21 10:28:52 +00:00
rest-api REST API: Remove assets field from block directory controller. 2020-07-28 04:08:56 +00:00
rewrite
sitemaps Sitemaps: Rename `wp_register_sitemap()` to `wp_register_sitemap_provider()`. 2020-07-21 20:13:59 +00:00
taxonomy
term Taxonomy: Ensure the `child_of` argument of `get_terms()` works as expected with `'fields' => 'id=>name'` or `'id=>slug'`. 2020-07-28 14:21:54 +00:00
theme REST API: Add additional fields to the themes controller. 2020-06-07 06:44:08 +00:00
url
user Tests: Update the `es_ES` string used in `wp_send_user_request()` tests to match the current translation. 2020-07-23 18:21:13 +00:00
widgets Widgets: Make sure image widgets with custom image size render captions. 2020-07-21 23:12:22 +00:00
xmlrpc Tests: Adjust XML-RPC unit tests for [47160]. 2020-02-02 04:07:50 +00:00
actions.php
adminbar.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
auth.php
avatar.php Media: Enable lazy-loading of images by automatically adding the new `loading="lazy"` attribute to image tags on the front-end. 2020-04-08 00:53:18 +00:00
basic.php Tests: Add a unit test to ensure the "Supported Versions" section of GitHub Security Policy always includes the latest stable branch. 2020-03-02 01:11:29 +00:00
cache.php Coding Standards: Cleans up some PHPCS issues introduced in [47938]. 2020-06-09 22:40:50 +00:00
canonical.php Canonical: Add the ability to disable `redirect_guess_404_permalink()`. 2020-06-01 18:47:41 +00:00
category.php
comment-submission.php Comments: Ensure that inserting a comment with an empty type results in correct `comment` type. 2020-04-26 13:42:03 +00:00
comment.php Comments: Make `wp_update_comment()` return `false` instead of 0 for an invalid comment or post ID. 2020-06-30 14:11:00 +00:00
compat.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
cron.php
db.php Tests: Remove `ja_JP` locale from `Tests_DB::test_locale_floats()`. 2020-07-05 12:50:47 +00:00
dbdelta.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
dependencies.php
file.php Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`. 2020-07-14 01:28:17 +00:00
filters.php
functions.php Tests: Update `wp_unique_filename()` unit tests to account for `sanitize_file_name()` removing accents. 2020-07-24 18:17:49 +00:00
kses.php Media: Add "loading" as an allowed kses image attribute 2020-07-23 00:42:48 +00:00
l10n.php
link.php
locale.php
mail.php Mail: PHPMailer swap to use is_email for the default validator. 2020-07-27 20:17:36 +00:00
media.php Tests: Simplify some assertions in `phpunit/tests/media.php`. 2020-07-20 15:47:37 +00:00
meta.php
multisite.php
pluggable.php Cache API: Introduce `wp_cache_get_multi()`. 2020-06-09 19:45:27 +00:00
post.php Posts, Post Types: Ensure that all post stati are countable in `wp_count_posts`. 2020-07-16 21:42:48 +00:00
query.php
rest-api.php REST API: Optimize rest_filter_response_by_context performance. 2020-07-21 21:20:22 +00:00
rewrite.php
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: Rename the `default_taxonomy_$taxonomy` option key to `default_term_$taxonomy`. 2020-07-28 15:40:35 +00:00
template.php
term.php Posts, Post Types: Introduce `default_category_post_types` filter. 2020-06-14 21:40:10 +00:00
theme.php Docs: Remove extra spaces from `@ticket` tag in unit tests. 2020-06-27 12:01:30 +00:00
upload.php Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`. 2020-07-14 01:28:17 +00:00
url.php
user.php Docs: Remove unnecessary variables names from `@return` tags. 2020-06-19 22:53:54 +00:00
walker.php
widgets.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:24:34 +00:00
wp.php