WordPress/wp-includes
hellofromTonya 5081870aa8 Tests: Fix "null to non-nullable" deprecation notice in `Tests_Admin_IncludesPlugin::test_get_plugin_files_folder()`.
The `Tests_Admin_IncludesPlugin::_create_plugin()` expects the first parameter to be a text string to be written to a plugin file using `fwrite()`.

Passing null causes a `fwrite(): Passing null to parameter #2 ($data) of type string is deprecated` notice.

Ref: https://www.php.net/manual/en/function.fwrite

Follow-up to [31002]. [41806].

Props jrf, hellofromTonya.
See #53635.
Built from https://develop.svn.wordpress.org/trunk@51800


git-svn-id: http://core.svn.wordpress.org/trunk@51407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-10 17:27:57 +00:00
..
ID3
IXR
PHPMailer External Libraries: Restore the `phpcs:ignore` statements in PHPMailer. 2021-08-18 14:08:56 +00:00
Requests
SimplePie
Text
assets Editor: Update block editor packages for WordPress 5.8.1. 2021-09-01 19:08:24 +00:00
block-patterns Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
block-supports Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
blocks Build: Split packages and blocks to their webpack configs 2021-07-28 10:06:59 +00:00
certificates
css Coding Standards: Apply coding standards on CSS. 2021-09-02 22:18:00 +00:00
customize Code Modernization: Fix parameter name mismatch with parent in `WP_Customize_Custom_CSS_Setting::validate()`. 2021-09-09 15:18:55 +00:00
fonts
images
js External Libraries: Update jQuery UI to 1.13.0-rc2. 2021-09-10 00:02:59 +00:00
php-compat Docs: Improve documentation for a few functions per the documentation standards. 2021-08-10 13:45:57 +00:00
pomo Code Modernization: Silence the deprecation warning for `auto_detect_line_endings`. 2021-08-18 21:58:57 +00:00
random_compat
rest-api Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
sitemaps Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Sitemaps_Provider::get_max_num_pages()`. 2021-09-09 19:42:56 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.17.0. 2021-08-10 13:04:57 +00:00
theme-compat
widgets Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Widget::update()`. 2021-09-09 20:13:57 +00:00
admin-bar.php Toolbar: Provide a CSS custom property for the admin bar height. 2021-08-26 18:24:58 +00:00
atomlib.php
author-template.php
block-editor.php Docs: Fix typo in the `get_block_editor_settings()` description. 2021-08-15 12:45:59 +00:00
block-i18n.json Blocks: Add support for `variations in `block.json` file 2021-08-11 09:08:01 +00:00
block-patterns.php Editor: Ensure the Query block pattern category is translatable. 2021-07-02 14:35:58 +00:00
block-template-utils.php Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
block-template.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
blocks.php Editor: Ensure block attribute serialization in PHP matches the JavaScript equivalent. 2021-08-26 19:10:58 +00:00
bookmark-template.php
bookmark.php
cache-compat.php
cache.php
canonical.php
capabilities.php
category-template.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
category.php
class-IXR.php
class-feed.php
class-http.php Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
class-json.php
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 Code Modernization: Fix last parameter name mismatches for parent/child classes in `Walker::start_el()`. 2021-09-09 12:39:59 +00:00
class-walker-category.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-walker-comment.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-walker-nav-menu.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-walker-page-dropdown.php Code Modernization: Fix last parameter name mismatches for parent/child classes in `Walker::start_el()`. 2021-09-09 12:39:59 +00:00
class-walker-page.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-application-passwords.php Application Passwords: Improve various user-facing and developer-facing terminology. 2021-07-19 21:14:57 +00:00
class-wp-block-editor-context.php
class-wp-block-list.php Code Modernization: Silence the deprecation warnings for missing return type in `WP_Block_List`. 2021-08-03 11:12:55 +00:00
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php
class-wp-block-styles-registry.php
class-wp-block-supports.php
class-wp-block-template.php
class-wp-block-type-registry.php
class-wp-block-type.php Build: Split packages and blocks to their webpack configs 2021-07-28 10:06:59 +00:00
class-wp-block.php Build: Split packages and blocks to their webpack configs 2021-07-28 10:06:59 +00:00
class-wp-comment-query.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-comment.php
class-wp-customize-control.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-customize-manager.php Docs: Fix typo in a comment in `WP_Customize_Manager::get_return_url()`. 2021-09-04 00:39:04 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-customize-section.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-customize-setting.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Customize_Setting::sanitize()`. 2021-09-09 14:32:57 +00:00
class-wp-customize-widgets.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
class-wp-date-query.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-dependency.php
class-wp-editor.php Editor: Revert [51748] and [51649]. They intorduced a bug where `wp.editor` may be replaced with `wp.oldEditor` in certain cases. 2021-09-08 23:29:58 +00:00
class-wp-embed.php
class-wp-error.php
class-wp-fatal-error-handler.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Code Modernization: Silence the deprecation warnings for missing return type in `WP_Hook`. 2021-08-03 11:02:00 +00:00
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 Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
class-wp-image-editor-gd.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Image_Editor::save()`. 2021-09-09 20:39:58 +00:00
class-wp-image-editor-imagick.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Image_Editor::save()`. 2021-09-09 20:39:58 +00:00
class-wp-image-editor.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Image_Editor::save()`. 2021-09-09 20:39:58 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php Code Modernization: Fix null to non-nullable deprecations in `WP_Meta_Query::get_sql_for_clause()`. 2021-09-10 16:01:03 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-network.php
class-wp-object-cache.php
class-wp-oembed-controller.php
class-wp-oembed.php
class-wp-paused-extensions-storage.php
class-wp-post-type.php
class-wp-post.php
class-wp-query.php Docs: Add missing documentation for the `minute` parameter of `WP_Query`. 2021-07-30 10:53:58 +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 Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-role.php
class-wp-roles.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-site.php
class-wp-tax-query.php
class-wp-taxonomy.php
class-wp-term-query.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php
class-wp-theme-json-resolver.php Coding Standards: Apply some minor alignment fixes. 2021-08-30 14:09:58 +00:00
class-wp-theme-json.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
class-wp-theme.php Code Modernization: Silence the deprecation warnings for missing return type in `WP_Theme`. 2021-08-02 22:31:56 +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 Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php Docs: Add a `@see` reference to the `xmlrpc_enabled` filter in `wp_xmlrpc_server::set_is_enabled()`. 2021-08-10 12:54:56 +00:00
class-wp.php Code Modernization: Check the return type of `parse_url()` in `WP::parse_request()`. 2021-08-16 20:17:57 +00:00
class.wp-dependencies.php
class.wp-scripts.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class.wp-styles.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
comment-template.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
comment.php
compat.php Docs: Correct a comment about WebP constants in `wp-includes/compat.php`. 2021-07-22 13:07:57 +00:00
cron.php Code Modernization: Add input validation to `_set_cron_array()`. 2021-08-30 15:20:56 +00:00
date.php
default-constants.php
default-filters.php Widgets: Warn when wp-editor script or wp-edit-post style is enqueued in widgets editor 2021-07-09 01:18:57 +00:00
default-widgets.php
deprecated.php General: Restore (un-deprecate) the `sanitize_url()` function. 2021-08-10 19:44:59 +00:00
embed-template.php
embed.php Coding Standards: Apply coding standards on CSS. 2021-09-02 22:18:00 +00:00
error-protection.php
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php
feed.php
formatting.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
functions.php Code Modernization: Fix null to non-nullable deprecation in `wp_privacy_anonymize_ip()`. 2021-09-09 22:56:56 +00:00
functions.wp-scripts.php Docs: Provide a more accurate description for a few script and style functions. 2021-09-02 08:30:58 +00:00
functions.wp-styles.php Docs: Provide a more accurate description for a few script and style functions. 2021-09-02 08:30:58 +00:00
general-template.php Editor: Revert [51748] and [51649]. They intorduced a bug where `wp.editor` may be replaced with `wp.oldEditor` in certain cases. 2021-09-08 23:29:58 +00:00
http.php
https-detection.php
https-migration.php
kses.php Docs: Move `@since` notes from the `safe_style_css` filter to the `safecss_filter_attr()` function. 2021-09-03 01:37:57 +00:00
l10n.php Blocks: Add support for `variations in `block.json` file 2021-08-11 09:08:01 +00:00
link-template.php Coding Standards: Remove redundant type casting to array in `WP_Query::get_posts()`. 2021-06-30 17:44:58 +00:00
load.php Multisite: Log error/warnings/notices from `ms-files.php`. 2021-07-06 20:21:57 +00:00
locale.php
media-template.php Media: Add `/` character to `<img>` tag in `wp_print_media_templates()`. 2021-08-04 14:25:58 +00:00
media.php
meta.php Docs: Document common names for dynamic hooks relating to metadata. 2021-07-03 21:32:58 +00:00
ms-blogs.php
ms-default-constants.php Code Modernization: Check the return type of `parse_url()` in `ms_cookie_constants()`. 2021-08-17 22:08:57 +00:00
ms-default-filters.php
ms-deprecated.php
ms-files.php Multisite: Log error/warnings/notices from `ms-files.php`. 2021-07-06 20:21:57 +00:00
ms-functions.php Networks and Sites: Replace two remaining occurrences of "blog" with "site" in user-facing strings. 2021-07-28 10:02:00 +00:00
ms-load.php
ms-network.php
ms-settings.php
ms-site.php
nav-menu-template.php
nav-menu.php Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
option.php Docs: Correct `@see` references for hooks in the `get_option()` description. 2021-07-03 11:31:58 +00:00
pluggable-deprecated.php
pluggable.php Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
plugin.php
post-formats.php
post-template.php
post-thumbnail-template.php
post.php Docs: Synchronize the `$post_id` argument description for some post and attachment functions. 2021-07-14 08:14:01 +00:00
query.php
registration-functions.php
registration.php
rest-api.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
revision.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
rewrite.php
robots-template.php
rss-functions.php
rss.php
script-loader.php External Libraries: Update jQuery UI to 1.13.0-rc2. 2021-09-10 00:02:59 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php
taxonomy.php Code Modernization: Fix null to non-nullable deprecation in `term_exists()`. 2021-09-10 15:03:57 +00:00
template-canvas.php
template-loader.php
template.php
theme-i18n.json
theme-templates.php
theme.json Block Editor: Add missing border setting on button block. 2021-08-03 18:14:58 +00:00
theme.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
update.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
user.php Users: Introduce a `meta_input` argument for `wp_insert_user()`. 2021-09-07 21:31:55 +00:00
vars.php
version.php Tests: Fix "null to non-nullable" deprecation notice in `Tests_Admin_IncludesPlugin::test_get_plugin_files_folder()`. 2021-09-10 17:27:57 +00:00
widgets.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
wlwmanifest.xml
wp-db.php Code Modernization: Fix "passing null to non-nullable" deprecation in `wpdb::_real_escape()`. 2021-09-10 16:36:57 +00:00
wp-diff.php