WordPress/wp-includes
Sergey Biryukov ecb8633dcc Coding Standards: Move `WP_Object_Cache` to `wp-includes/class-wp-object-cache.php`.
This ensures the file containing the `WP_Object_Cache` class conforms to the coding standards.

For backward compatibility, the new file is included from `wp-includes/cache.php`.

Fixes #49373. See #49222.
Built from https://develop.svn.wordpress.org/trunk@47197


git-svn-id: http://core.svn.wordpress.org/trunk@46997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-06 05:53:06 +00:00
..
ID3 External Library: Update getid3 to 1.9.18 2019-09-18 14:54:57 +00:00
IXR
Requests External Libraries: Fix PHP 7.4 compatibility issue in the Requests library. 2019-10-06 17:14:02 +00:00
SimplePie External Libraries: Fix PHP 7.4 compatibility issues in the SimplePie library. 2019-09-23 18:17:58 +00:00
Text
assets/dist Block Editor: Update WordPress Packages. 2020-01-22 22:06:21 +00:00
blocks Block Editor: Include navigation block server logic. 2020-02-04 20:16:04 +00:00
certificates HTTP: Update the Root Certificate bundle. 2019-09-12 12:04:59 +00:00
css Block Editor: Update WordPress Packages. 2020-01-22 22:06:21 +00:00
customize Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
fonts
images Build/Test tools: Update grunt-contrib-imagemin and run it 2019-10-05 14:20:59 +00:00
js TinyMCE: Remove duplicate keys and strings from `langs/wp-langs-en.js`. 2020-02-04 16:43:07 +00:00
pomo Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
random_compat
rest-api REST API: Merge "not allowed to create new terms" permission error message with an existing string. 2020-02-02 05:41:03 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.12.1. 2019-12-09 16:42:04 +00:00
theme-compat Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
widgets Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
admin-bar.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
atomlib.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
author-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
blocks.php Prevent stored XSS in the block editor. 2019-12-12 18:02:03 +00:00
bookmark-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
bookmark.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
cache.php Coding Standards: Move `WP_Object_Cache` to `wp-includes/class-wp-object-cache.php`. 2020-02-06 05:53:06 +00:00
canonical.php Canonical: When removing trailing punctuation from query string arguments, match the whole query var name. 2020-02-03 00:14:07 +00:00
capabilities.php Posts, Post Types: Fail gracefully when checking mapped cap against unregistered post status. 2020-02-04 22:15:08 +00:00
category-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
category.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-IXR.php
class-feed.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
class-http.php Docs: Add more specific description for `WP_Http::processResponse()` return value. 2020-02-02 03:27:05 +00:00
class-json.php Docs: Correct `@see` references for PHP 4 constructors in `wp-includes/class-json.php`. 2019-11-02 20:13:02 +00:00
class-oembed.php
class-phpass.php Docs: Update URLs in some `@link` tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-phpmailer.php General: Patch PHMailer for PHP 7.4 compatibility. 2019-10-03 15:45:59 +00:00
class-pop3.php PHP 7.4 compatibility fix / accessing arrays/string using curly brace syntax 2019-08-03 20:21:55 +00:00
class-requests.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-simplepie.php
class-smtp.php Mail: Update PHPMailer to 5.2.27. 2019-09-12 14:37:57 +00:00
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php 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:06:03 +00:00
class-walker-comment.php Docs: Add missing description for `$comment` global. 2019-10-04 22:19:57 +00:00
class-walker-nav-menu.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-walker-page-dropdown.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-walker-page.php 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:06:03 +00:00
class-wp-admin-bar.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-ajax-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-block-parser.php
class-wp-block-styles-registry.php Editor: Fix typo in an error message in `WP_Block_Styles_Registry::register()`. 2019-10-27 14:09:02 +00:00
class-wp-block-type-registry.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-block-type.php
class-wp-comment-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-comment.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-customize-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-manager.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-customize-nav-menus.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-customize-panel.php Code Modernisation: Replace `call_user_func_array()` in `wp-includes/class-wp-customize-*.php` with direct function calls in combination with the spread operator. 2019-09-15 11:27:55 +00:00
class-wp-customize-section.php Customize: Formally deprecate unused Customizer classes. 2019-11-03 16:48:00 +00:00
class-wp-customize-setting.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-customize-widgets.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-date-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-dependency.php Docs: Improve documentation for `WP_Dependencies`, `WP_Scripts`, and `WP_Styles` methods. 2020-02-03 00:19:03 +00:00
class-wp-editor.php Editor: Remove back-compat stub for Classic Editor's old distraction-free writing mode. 2020-02-02 04:15:03 +00:00
class-wp-embed.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-error.php
class-wp-fatal-error-handler.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-http-cookie.php Docs: Correct `@type` annotation for `WP_HTTP_Cookie::$expires`. 2019-08-05 07:56:56 +00:00
class-wp-http-curl.php Docs: Correct DocBlock formatting for filters accepting the `$parsed_args` parameter. 2020-01-21 15:41:04 +00:00
class-wp-http-encoding.php Docs: Update links to https://secure.php.net/, they now redirect to https://www.php.net/. 2020-01-20 03:14:06 +00:00
class-wp-http-ixr-client.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-http-proxy.php Docs: Docblock corrections and improvements, mostly related to various `pre_*` filters. 2019-09-21 17:41:57 +00:00
class-wp-http-requests-hooks.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-http-requests-response.php Docs: Fix and improve inline documentation for the HTTP API. 2019-10-12 18:05:04 +00:00
class-wp-http-response.php
class-wp-http-streams.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-image-editor-gd.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-image-editor-imagick.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-image-editor.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php Docs: Add missing description for `$wp_locale` global. 2019-08-04 01:46:55 +00:00
class-wp-locale.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-matchesmapregex.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-meta-query.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2020-01-11 18:32:05 +00:00
class-wp-metadata-lazyloader.php Text Changes: Add missing periods to some error messages, for consistency. 2020-02-01 20:32:05 +00:00
class-wp-network-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-network.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-object-cache.php Coding Standards: Move `WP_Object_Cache` to `wp-includes/class-wp-object-cache.php`. 2020-02-06 05:53:06 +00:00
class-wp-oembed-controller.php Docs: In various `@return` tags, list the expected type first, instead of `WP_Error`. 2019-11-11 02:43:03 +00:00
class-wp-oembed.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-paused-extensions-storage.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-post-type.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-post.php
class-wp-query.php Posts, Post Types: Fail gracefully when checking whether a single post with an unregistered post status should be displayed in `WP_Query::get_posts()`. 2020-02-05 01:33:05 +00:00
class-wp-recovery-mode-cookie-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-email-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-key-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-link-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rewrite.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-role.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
class-wp-roles.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
class-wp-session-tokens.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-simplepie-file.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-site.php Multisite: Improve performance by caching not found lookups for sites and networks. 2019-08-29 12:42:56 +00:00
class-wp-tax-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-taxonomy.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-term-query.php Docs: Correct and improve the readability of some parameters of `WP_Term_Query`. 2019-11-04 17:50:02 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-theme.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-user-request.php
class-wp-user.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-walker.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-factory.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-xmlrpc-server.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class.wp-dependencies.php Docs: Improve documentation for `WP_Dependencies`, `WP_Scripts`, and `WP_Styles` methods. 2020-02-03 00:19:03 +00:00
class.wp-scripts.php Docs: Improve documentation for `WP_Dependencies`, `WP_Scripts`, and `WP_Styles` methods. 2020-02-03 00:19:03 +00:00
class.wp-styles.php Docs: Improve documentation for `WP_Dependencies`, `WP_Scripts`, and `WP_Styles` methods. 2020-02-03 00:19:03 +00:00
comment-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comment.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
compat.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
cron.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
date.php Coding Standards: Move `wp-includes/date.php` to `wp-includes/class-wp-date-query.php`. 2019-07-25 23:31:56 +00:00
default-constants.php Docs: Fix typo in a comment with `WP_DEBUG_DISPLAY` description. 2020-02-02 05:34:05 +00:00
default-filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
default-widgets.php
deprecated.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
embed-template.php
embed.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2020-01-11 18:32:05 +00:00
error-protection.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-atom-comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-atom.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rdf.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2-comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
formatting.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
functions.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
functions.wp-scripts.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
functions.wp-styles.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
general-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
http.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
kses.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
l10n.php Docs: Improve documentation for `WP_Dependencies`, `WP_Scripts`, and `WP_Styles` methods. 2020-02-03 00:19:03 +00:00
link-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
load.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
locale.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
media-template.php Accessibility: Add an `aria-current` attribute to the Media Library switch links. 2019-11-18 16:51:02 +00:00
media.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
meta.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-blogs.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-default-constants.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-default-filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-deprecated.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
ms-files.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-functions.php Coding Standards: Fix WPCS issues in [47175]. 2020-02-04 21:42:04 +00:00
ms-load.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-network.php
ms-settings.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-site.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
nav-menu-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
nav-menu.php Docs: Correct DocBlock formatting for `register_setting()`. 2020-02-01 22:01:07 +00:00
option.php Docs: Correct DocBlock formatting for `register_setting()`. 2020-02-01 22:01:07 +00:00
pluggable-deprecated.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2020-01-11 18:32:05 +00:00
pluggable.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
plugin.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
post-formats.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
post-template.php Docs: Clarify that `is_page_template()` accepts a template filename, not the `Template Name` file header. 2020-02-05 03:14:06 +00:00
post-thumbnail-template.php Post Thumbnails: Make sure `get_post_thumbnail_id()` returns an integer, to match the documented return value. 2020-02-02 03:08:04 +00:00
post.php Posts, Post Types: Add default `menu_icon` values for built-in post types. 2020-02-05 22:40:05 +00:00
query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
registration-functions.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
registration.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
rest-api.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
revision.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
rewrite.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
rss-functions.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
rss.php
script-loader.php Editor: Remove back-compat stub for Classic Editor's old distraction-free writing mode. 2020-02-02 04:15:03 +00:00
session.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
shortcodes.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
spl-autoload-compat.php
taxonomy.php Docs: Add a `@since` note for [47186]. 2020-02-05 06:33:04 +00:00
template-loader.php Bootstrap/Load: Make handling the `/favicon.ico` requests more flexible. 2019-12-28 21:20:04 +00:00
template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
theme.php Themes: Replace `—` with `–` as a separator between Monday and Friday in theme starter content. 2020-01-30 19:17:06 +00:00
update.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
user.php Accessibility: Text Changes: Use sentence case for the word `Error` in various error messages, instead of all caps. 2020-02-01 21:38:04 +00:00
vars.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
version.php Coding Standards: Move `WP_Object_Cache` to `wp-includes/class-wp-object-cache.php`. 2020-02-06 05:53:06 +00:00
widgets.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wlwmanifest.xml
wp-db.php Database: Add `ANSI` to the list of incompatible SQL modes. 2020-02-04 01:14:07 +00:00
wp-diff.php