WordPress/wp-includes
Sergey Biryukov 8eb278d19a Docs: Clarify that `get_lastpostdate()` and `get_lastpostmodified()` can return `false` on failure.
The both use `_get_last_post_time()` internally.

Props Rarst.
See #48957.
Built from https://develop.svn.wordpress.org/trunk@46973


git-svn-id: http://core.svn.wordpress.org/trunk@46773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 20:26:01 +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
blocks Docs: Remove some funky nested filters. 2019-10-28 19:04:05 +00:00
certificates HTTP: Update the Root Certificate bundle. 2019-09-12 12:04:59 +00:00
css Administration: Standardize form control height and alignment across the admin. 2019-12-09 20:26:03 +00:00
customize Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
fonts
images Build/Test tools: Update grunt-contrib-imagemin and run it 2019-10-05 14:20:59 +00:00
js Coding Standards: Add missing braces to `if` conditions in `js/_enqueues/wp/util.js`. 2019-12-15 08:45:05 +00:00
pomo Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages. 2019-11-17 07:43:01 +00:00
random_compat
rest-api Ensure that a user can publish_posts before making a post sticky. 2019-12-12 17:52:02 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.12.1. 2019-12-09 16:42:04 +00:00
theme-compat Docs: Correct some more invalid inline docs. 2019-10-31 21:20:02 +00:00
widgets Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
admin-bar.php Toolbar: Use `add_node()` instead of `add_menu()` in core. 2019-11-03 22:14:01 +00:00
atomlib.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
author-template.php Build/Test Tools: Introduce automated PHP compatibility checking. 2019-09-25 13:47:58 +00:00
blocks.php Prevent stored XSS in the block editor. 2019-12-12 18:02:03 +00:00
bookmark-template.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
bookmark.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
cache.php
canonical.php Docs: Add missing description for `$wp_query` and `$wp_the_query` globals. 2019-08-04 01:59:56 +00:00
capabilities.php Docs: Use the `{@see ...}` tag for the replacement in `@deprecated` tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +00:00
category-template.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
category.php Docs: Update description for `get_categories()` to avoid suggesting the deprecated `type` argument. 2019-12-12 16:47:05 +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: Correct `@type` for `timeout` argument in `WP_Http::request()`. 2019-12-17 15:25:01 +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 Coding Standards: Move `wp-includes/class-oembed.php` to `wp-includes/class-wp-oembed.php`. 2019-07-19 04:32:57 +00:00
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 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-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 Toolbar: Properly escape the onclick attribute. 2019-11-15 23:24:02 +00:00
class-wp-ajax-response.php Coding Standards: Rename `$r` variable used with `wp_parse_args()` to `$parsed_args` for clarity. 2019-07-25 00:48:58 +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 Code Modernisation: Replace `call_user_func_array()` in various `__call()` methods with dynamic function calls. 2019-09-15 11:53:56 +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: Correct various docblocks documentation. 2019-12-06 22:23:04 +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: Move the `@link` tag for Customize API in `WP_Customize_Manager::add_setting()` and `WP_Customize_Setting` to a more appropriate place. 2019-11-10 01:43:02 +00:00
class-wp-customize-widgets.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-date-query.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-dependency.php Docs: Add a `@since` note about new parameters with the spread operator added to function signatures. 2019-10-09 04:28:02 +00:00
class-wp-editor.php Editor: Pass `$editor_id` parameter to `tiny_mce_plugins`, `mce_external_plugins`, and `mce_external_languages` filters, for consistency with `teeny_mce_plugins`. 2019-11-16 16:36:02 +00:00
class-wp-embed.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-error.php
class-wp-fatal-error-handler.php Site Health: Add a link to "Debugging in WordPress" support article to fatal PHP error handler's default message. 2019-09-16 17:23:55 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Docs: Correct `@param` type for the function parameter in `tests_add_filter()` and `_test_filter_build_unique_id()`. 2019-11-29 21:42:01 +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 Code Modernization: Remove a workaround for `CURLOPT_PROTOCOLS` in `WP_Http_Curl::request()`. 2019-09-20 22:23:58 +00:00
class-wp-http-encoding.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
class-wp-http-ixr-client.php
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 Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored. 2019-07-05 01:45:56 +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 Coding Standards: Fix/ignore the `WordPress.NamingConventions.ValidFunctionName` violations. 2019-07-01 08:01:57 +00:00
class-wp-http-streams.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-image-editor-gd.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-image-editor-imagick.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-image-editor.php Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages. 2019-11-17 07:43:01 +00:00
class-wp-list-util.php Coding Standards: Fix the `Squiz.PHP.DisallowMultipleAssignments` violations in `wp-includes`. 2019-07-02 23:42:58 +00:00
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 Code Modernization: Remove all code using a `version_compare()` with a PHP version older than PHP 5.6. 2019-09-20 22:02:57 +00:00
class-wp-matchesmapregex.php
class-wp-meta-query.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php Multisite: improve `sites_pre_query` and `networks_pre_query` filters, avoiding db queries. 2019-09-12 22:17:55 +00:00
class-wp-network.php Multisite: Improve performance by caching not found lookups for sites and networks. 2019-08-29 12:42:56 +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 Embeds: Remove CollegeHumor oEmbed provider, as the service does not exist anymore. 2019-11-23 10:15:03 +00:00
class-wp-paused-extensions-storage.php
class-wp-post-type.php REST API: Ensure rest_controller instantiates the post type's declared REST controller class. 2019-10-08 13:43:02 +00:00
class-wp-post.php
class-wp-query.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php
class-wp-recovery-mode.php
class-wp-rewrite.php Docs: Use the `{@see ...}` tag for the replacement in `@deprecated` tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +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
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php Multisite: improve `sites_pre_query` and `networks_pre_query` filters, avoiding db queries. 2019-09-12 22:17:55 +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 Coding Standards: Fix the `Squiz.PHP.DisallowMultipleAssignments` violations in `wp-includes`. 2019-07-02 23:42:58 +00:00
class-wp-taxonomy.php Taxonomy: Correct the initial value for `WP_Taxonomy::$labels` to match `get_taxonomy_labels()` return type. 2019-11-18 07:58:59 +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: Correct some invalid hook docblocks. 2019-11-12 22:42:02 +00:00
class-wp-theme.php Docs: Clarify that `WP_Theme::get()`, `::display()`, and several related methods treat the `Tags` theme header as an array. 2019-11-20 08:31:03 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Correct accepted values for `search_columns` parameter in `WP_User_Query`. 2019-09-17 15:43:56 +00:00
class-wp-user-request.php
class-wp-user.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-walker.php Docs: Tweak the `@since` note in `Walker::walk()` and `::paged_walk()` for better readability and consistency with other notes. 2019-10-09 04:35:01 +00:00
class-wp-widget-factory.php Widgets: Remove `WP_Widget_Factory::$hashed_class_counts` property, unused since [46220]. 2019-12-01 12:13:01 +00:00
class-wp-widget.php Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages. 2019-11-17 07:43:01 +00:00
class-wp-xmlrpc-server.php Date/Time: XML-RPC: Сalculate the proper offset for GMT in `wp.newPost`, `wp.editComment`, `mw.newPost`, `mw.editPost` when `post_date` or `comment_date` is set. 2019-12-09 19:56:05 +00:00
class-wp.php Docs: Use the `{@see ...}` tag for the replacement in `@deprecated` tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +00:00
class.wp-dependencies.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class.wp-scripts.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class.wp-styles.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
comment-template.php Comments: Avoid a PHP notice in `comment_form()` if the `email` field is not set. 2019-12-11 22:14:02 +00:00
comment.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
compat.php Code Modernization: Remove JSON related polyfills. 2019-09-20 20:16:58 +00:00
cron.php Docs: Docblock corrections and improvements, mostly related to various `pre_*` filters. 2019-09-21 17:41:57 +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 Bundled Themes: Make Twenty Twenty the new default theme. 2019-09-23 21:00:58 +00:00
default-filters.php Prevent stored XSS in the block editor. 2019-12-12 18:02:03 +00:00
default-widgets.php
deprecated.php Taxonomy: Remove redundant caching from `get_all_category_ids()`, deprecated in favor of `get_terms()` in [28679]. 2019-12-02 14:49:01 +00:00
embed-template.php
embed.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
error-protection.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
feed-atom-comments.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
feed-rss2.php
feed.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
formatting.php Docs: Clarify descriptions for `get_gmt_from_date()` and `get_date_from_gmt()`. 2019-12-13 21:45:02 +00:00
functions.php Upload: Fix the final file name collision test in `wp_unique_filename()` when uploading a file with upper case extension. Add a unit test to catch that in the future. 2019-12-16 23:44:04 +00:00
functions.wp-scripts.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
functions.wp-styles.php Docs: Correct the documentation placement for `wp_print_styles` and `shortcode_atts_{$shortcode}` hooks. 2019-11-09 13:43:01 +00:00
general-template.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
http.php Docs: In various `@return` tags, list the expected type first, instead of `WP_Error`. 2019-11-11 02:43:03 +00:00
kses.php Formatting: Return early from `wp_kses_attr_check()` if the element is not in the list of allowed elements and attributes. 2019-12-14 15:53:06 +00:00
l10n.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
link-template.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
load.php Docs: Adjust `wp_is_json_request()` and `wp_is_xml_request()` return value descriptions for consistency. 2019-11-22 18:28: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 Media: Avoid a PHP notice in `image_downsize()` when trying to replace a non-image URL with a rendered image from its meta. 2019-11-25 10:07:02 +00:00
meta.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
ms-blogs.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
ms-files.php
ms-functions.php REST API: Use strict `in_array()` checks for the list of usernames blacklisted via `illegal_user_logins` filter. 2019-11-29 22:04:02 +00:00
ms-load.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
ms-network.php
ms-settings.php
ms-site.php Docs: Use the `{@see ...}` tag for the replacement in `@deprecated` tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +00:00
nav-menu-template.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
nav-menu.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
option.php Options, Meta APIs: Update `@since` version for the `$force_cache` parameter added for `wp_load_alloptions()` in [46753] to 5.3.1. 2019-11-25 13:44:02 +00:00
pluggable-deprecated.php
pluggable.php Login/Registration: Pass the error data to the `wp_login_failed` action. 2019-12-17 15:36:01 +00:00
plugin.php Plugins: In `_wp_filter_build_unique_id()`, remove `$wp_filter` global and `$filter_id_count` static variable, unused since [46220]. 2019-11-29 22:14:01 +00:00
post-formats.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
post-template.php Docs: Miscellaneous docblock corrections. 2019-10-28 19:48:01 +00:00
post-thumbnail-template.php Docs: Add missing description for `$wp_query` and `$wp_the_query` globals. 2019-08-04 01:59:56 +00:00
post.php Docs: Clarify that `get_lastpostdate()` and `get_lastpostmodified()` can return `false` on failure. 2019-12-17 20:26:01 +00:00
query.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +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: In various `@return` tags, list the expected type first, instead of `WP_Error`. 2019-11-11 02:43:03 +00:00
revision.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
rewrite.php Docs: Add missing description for `$wp` global. 2019-08-04 01:28:55 +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 Coding Standards: Fix WPCS and JSHint issues in [46872]. 2019-12-10 01:34:01 +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: Correct the documentation placement for `wp_print_styles` and `shortcode_atts_{$shortcode}` hooks. 2019-11-09 13:43:01 +00:00
spl-autoload-compat.php Code Modernisation: Remove the SPL autoloader polyfill. 2019-07-15 05:11:56 +00:00
taxonomy.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
template-loader.php Coding Standards: Fix the `Squiz.PHP.DisallowMultipleAssignments` violations in `wp-includes`. 2019-07-02 23:42:58 +00:00
template.php Docs: Add missing description for `$comment` global. 2019-10-04 22:19:57 +00:00
theme.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
update.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
user.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
vars.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
version.php Docs: Clarify that `get_lastpostdate()` and `get_lastpostmodified()` can return `false` on failure. 2019-12-17 20:26:01 +00:00
widgets.php Docs: Add a `@since` note about new parameters with the spread operator added to function signatures. 2019-10-09 04:28:02 +00:00
wlwmanifest.xml
wp-db.php Docs: In various `@return` tags, list the expected type first, instead of `WP_Error`. 2019-11-11 02:43:03 +00:00
wp-diff.php