WordPress/wp-includes
Sergey Biryukov bed8ddc138 Tests: Correct the @covers tag in a WP_REST_Posts_Controller test for unique post slugs.
This addresses a notice when generating the code coverage report:
{{{
"@covers WP_REST_Request::create_item" is invalid
}}}

The `WP_REST_Request` class does not have a `create_item()` method, `WP_REST_Posts_Controller` is the class being tested here.

Includes fixing a typo in the test method name.

Follow-up to [53813].

See #52422, #55652.
Built from https://develop.svn.wordpress.org/trunk@54055


git-svn-id: http://core.svn.wordpress.org/trunk@53614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-01 18:44:12 +00:00
..
assets Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
block-patterns
block-supports
blocks Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
certificates
css Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
customize
fonts
ID3
images
IXR
js Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
php-compat
PHPMailer External Libraries: Upgrade PHPMailer to version 6.6.4. 2022-08-22 12:26:12 +00:00
pomo Code Modernization: Explicitly declare all properties in Gettext_Translations. 2022-08-30 13:57:15 +00:00
random_compat
Requests
rest-api Site Health: Introduce page cache check. 2022-08-31 22:46:11 +00:00
SimplePie
sitemaps
sodium_compat
Text
theme-compat
widgets
admin-bar.php Taxonomy: Introduce the is_term_publicly_viewable() function. 2022-08-13 22:44:09 +00:00
atomlib.php
author-template.php I18N: Use a translatable string for displaying a user's first name and last name. 2022-06-14 14:43:12 +00:00
block-editor.php
block-i18n.json
block-patterns.php Block Patterns: Add new Footers category 2022-08-25 15:42:10 +00:00
block-template-utils.php Editor: Ensure get_block_templates() returns unique templates or template parts. 2022-08-23 14:52:12 +00:00
block-template.php
blocks.php Editor: Document the arguments for registering a block style. 2022-08-13 22:38:09 +00:00
bookmark-template.php
bookmark.php General: Ensure bookmark query limits are numeric. 2022-08-30 15:17:08 +00:00
cache-compat.php
cache.php
canonical.php
capabilities.php
category-template.php Taxonomy: Associate field descriptions with fields. 2022-08-19 23:06:09 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php Coding Standards: Use more consistent formatting in wp-includes/class-json.php. 2022-08-31 13:41:08 +00:00
class-oembed.php
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-application-passwords.php
class-wp-block-editor-context.php
class-wp-block-list.php
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php
class-wp-block-styles-registry.php Editor: Document the arguments for registering a block style. 2022-08-13 22:38:09 +00:00
class-wp-block-supports.php
class-wp-block-template.php
class-wp-block-type-registry.php
class-wp-block-type.php
class-wp-block.php
class-wp-comment-query.php
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php
class-wp-customize-nav-menus.php
class-wp-customize-panel.php
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-customize-widgets.php
class-wp-date-query.php
class-wp-dependency.php
class-wp-editor.php
class-wp-embed.php
class-wp-error.php
class-wp-fatal-error-handler.php Site Health: Improve the fatal error handling text in multisite scenarios. 2022-08-28 19:51:09 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php
class-wp-http-cookie.php
class-wp-http-curl.php
class-wp-http-encoding.php
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php
class-wp-http.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php
class-wp-image-editor.php
class-wp-list-util.php
class-wp-locale-switcher.php
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php Query: Cast the meta key to BINARY for case-sensitive key comparisons in WP_Meta_Query. 2022-08-17 14:00:13 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php
class-wp-network.php
class-wp-object-cache.php
class-wp-oembed-controller.php
class-wp-oembed.php Embeds: Add Pocket Casts as a trusted oEmbed provider. 2022-07-21 04:25:13 +00:00
class-wp-paused-extensions-storage.php Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling. 2022-04-29 19:17:11 +00:00
class-wp-post-type.php
class-wp-post.php
class-wp-query.php Query: Cache post ID database query within WP_Query. 2022-08-25 04:23:13 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php
class-wp-recovery-mode.php
class-wp-rewrite.php
class-wp-role.php
class-wp-roles.php
class-wp-session-tokens.php
class-wp-simplepie-file.php Code Modernization: Explicitly declare WP-specific property in WP_SimplePie_File. 2022-08-29 13:19:12 +00:00
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php
class-wp-site.php
class-wp-tax-query.php Docs: Use third-person singular verbs for function descriptions in WP_Tax_Query class, as per docblocks standards. 2022-08-18 11:28:12 +00:00
class-wp-taxonomy.php
class-wp-term-query.php
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php
class-wp-textdomain-registry.php
class-wp-theme-json-resolver.php
class-wp-theme-json-schema.php
class-wp-theme-json.php
class-wp-theme.php Themes: Add support for Update URI header. 2022-08-23 17:48:15 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php
class-wp-user-request.php
class-wp-user.php
class-wp-walker.php
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php
class-wp.php
class-wpdb.php Database: Account for utf8 being renamed to utf8mb3 in newer MariaDB and MySQL versions. 2022-08-22 15:39:13 +00:00
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-template.php
comment.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
compat.php
cron.php
date.php
default-constants.php
default-filters.php
default-widgets.php
deprecated.php
embed-template.php
embed.php Embeds: Fix missing labels and duplicate IDs. 2022-08-19 22:06:09 +00:00
error-protection.php
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Docs: Use third-person singular verbs for function descriptions in the Feed API, as per docblock standards. 2022-06-20 21:46:16 +00:00
formatting.php
functions.php Coding Standards: Use strict comparisons in path_is_absolute(). 2022-08-26 18:59:13 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php Script Loader: Remove default DNS prefetch entry for s.w.org. 2022-08-18 08:45:12 +00:00
global-styles-and-settings.php
http.php
https-detection.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
https-migration.php
kses.php
l10n.php
link-template.php Docs: Remove incorrect default value for $path argument of admin_url(). 2022-08-19 19:48:15 +00:00
load.php Coding Standards: Simplify the logic in wp_not_installed(). 2022-08-20 00:32:10 +00:00
locale.php
media-template.php
media.php
meta.php
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php
ms-load.php
ms-network.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
ms-settings.php
ms-site.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
nav-menu-template.php
nav-menu.php
option.php Coding Standards: Check for deprecated options before wp_installing(). 2022-08-20 00:27:12 +00:00
pluggable-deprecated.php
pluggable.php Mail: Prevent the last character of names in “From” headers from being trimmed. 2022-08-16 18:18:14 +00:00
plugin.php
post-formats.php
post-template.php Posts, Post Types: Escape output within the_meta(). 2022-08-30 15:15:09 +00:00
post-thumbnail-template.php
post.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
query.php
registration-functions.php
registration.php
rest-api.php
revision.php
rewrite.php Rewrite rules: Prevent malformed date requests throwing notices. 2022-08-07 23:05:10 +00:00
robots-template.php
rss-functions.php
rss.php
script-loader.php Script Loader: Allow a priority to be passed to wp_enqueue_block_support_styles(). 2022-09-01 15:45:09 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
taxonomy.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
template-canvas.php
template-loader.php
template.php
theme-i18n.json
theme-templates.php
theme.json
theme.php
update.php Themes: Add support for Update URI header. 2022-08-23 17:48:15 +00:00
user.php
vars.php
version.php Tests: Correct the @covers tag in a WP_REST_Posts_Controller test for unique post slugs. 2022-09-01 18:44:12 +00:00
widgets.php
wlwmanifest.xml
wp-db.php
wp-diff.php