WordPress/wp-includes
Sergey Biryukov e5935d0436 Bootstrap/Load: Introduce `is_*_admin_screen()` aliases for `is_*_admin()` function family.
Following the introduction of `is_login_screen()` in [53884], it is time to reconsider the `is_*_admin()` functions:

* `is_admin()`: Determines whether the current request is for an administrative interface page.
* `is_blog_admin()`: Whether the current request is for a site's administrative interface, e.g. `/wp-admin/`.
* `is_network_admin()`: Whether the current request is for the network administrative interface, e.g. `/wp-admin/network/`.
* `is_user_admin()`: Whether the current request is for a user admin screen, e.g. `/wp-admin/user/`.

For someone new to WordPress, these names can be quite confusing, especially the last one. When using these functions, one always needs to remember that they don't actually check if the current user is a site administrator.

To complicate things further, there is one more similarly named function that does exactly the latter:
* `is_super_admin()`: Determines whether user is a site admin.

With the above in mind, this commit introduces aliases that better match the functionality and allow for more descriptive code:

* `is_admin()` → `is_admin_screen()`
* `is_blog_admin()` → `is_site_admin_screen()`
* `is_network_admin()` → `is_network_admin_screen()`
* `is_user_admin()` → `is_user_admin_screen()`

Additionally, `is_super_admin_user()` is introduced as an alias for `is_super_admin()`:
* `is_super_admin()` → `is_super_admin_user()`

Plugins and themes are encouraged to start using the newer function names to make code self-descriptive and bring more clarity. The older names are not deprecated at this time, though it may be up for discussion in the future.

Follow-up to [2481], [6412], [12393], [12732], [15558], [15481], [15746], [53884].

Props jrf, tobifjellner, SergeyBiryukov.
See #56400.
Built from https://develop.svn.wordpress.org/trunk@54259


git-svn-id: http://core.svn.wordpress.org/trunk@53818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-20 15:45:49 +00:00
..
ID3
IXR
PHPMailer External Libraries: Upgrade PHPMailer to version 6.6.4. 2022-08-22 12:26:12 +00:00
Requests
SimplePie External Libraries: Update the SimplePie library to version 1.5.7. 2021-12-20 19:33:00 +00:00
Text Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
assets Editor: Sync changes from the Gutenberg plugin 14.1 release 2022-09-20 15:43:29 +00:00
block-patterns REST API: Bring new endpoints for Block Patterns from Gutenberg plugin 2022-04-12 09:26:16 +00:00
block-supports Editor: Backport block supports (border, color, elements, spacing) from Gutenberg to WP 6.1. 2022-09-19 20:14:10 +00:00
blocks Cron API: Add error logging and hooks to `wp-cron.php`. 2022-09-20 15:44:38 +00:00
certificates HTTP: Remove the DST Root CA X3 certificate expired on September 30, 2021. 2021-10-03 17:51:06 +00:00
css Editor: Sync changes from the Gutenberg plugin 14.1 release 2022-09-20 15:43:29 +00:00
customize Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
fonts
images
js Editor: Sync changes from the Gutenberg plugin 14.1 release 2022-09-20 15:43:29 +00:00
php-compat Docs: Adjust some deprecated function DocBlocks per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#1-2-deprecated-functions documentation standards]. 2022-04-06 15:20:06 +00:00
pomo Code Modernization: Replace deprecated string interpolation patterns. 2022-09-12 17:52:08 +00:00
random_compat External Libraries: Update random_compat to version 2.0.21. 2022-02-16 21:19:04 +00:00
rest-api Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
sitemaps Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.18.0. 2022-09-14 00:13:14 +00:00
style-engine Editor: Backport Style Engine API functions, classes and tests. 2022-09-14 12:48:16 +00:00
theme-compat Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
widgets Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`. 2022-09-20 10:31:14 +00:00
admin-bar.php Taxonomy: Introduce the `is_term_publicly_viewable()` function. 2022-08-13 22:44:09 +00:00
atomlib.php Code Modernization: Rename parameters that use reserved keywords in `wp-includes/atomlib.php`. 2022-04-21 11:24:17 +00:00
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 Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
block-i18n.json
block-patterns.php Block Patterns: Add new Footers category 2022-08-25 15:42:10 +00:00
block-template-utils.php Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
block-template.php Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`. 2022-09-20 10:31:14 +00:00
blocks.php Docs: Clarify the `$allowed_protocols` default value in various KSES functions. 2022-09-15 13:29:13 +00:00
bookmark-template.php Docs: Use third-person singular verbs for function descriptions in Bookmark related files, as per docblock standards. 2022-06-23 22:57:12 +00:00
bookmark.php General: Ensure bookmark query limits are numeric. 2022-08-30 15:17:08 +00:00
cache-compat.php Cache API: Make the placement of `wp_cache_flush_group()` more consistent. 2022-07-23 14:58:12 +00:00
cache.php Cache API: Make the placement of `wp_cache_flush_group()` more consistent. 2022-07-23 14:58:12 +00:00
canonical.php Canonical: Include all public status in 404 redirects. 2022-04-01 03:25:01 +00:00
capabilities.php Bootstrap/Load: Introduce `is_*_admin_screen()` aliases for `is_*_admin()` function family. 2022-09-20 15:45:49 +00:00
category-template.php Taxonomy: Associate field descriptions with fields. 2022-08-19 23:06:09 +00:00
category.php Docs: Various corrections and improvements to inline documentation. 2022-08-04 14:52:11 +00:00
class-IXR.php
class-feed.php
class-http.php General: Use `WPINC` as a shorter reference to `wp-includes` in some files. 2022-06-17 11:20:13 +00:00
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 General: Use `WPINC` as a shorter reference to `wp-includes` in some files. 2022-06-17 11:20:13 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php External Libraries: Update the SimplePie library to version 1.5.8. 2021-12-24 18:06:06 +00:00
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-category.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-comment.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-nav-menu.php Docs: Clarify documentation for the `nav_menu_item_id` filter. 2022-09-15 12:32:08 +00:00
class-walker-page-dropdown.php Coding standards: Remove extra spaces in docblocks of the `Walker_PageDropdown` class. 2022-05-01 22:01:10 +00:00
class-walker-page.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-admin-bar.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-ajax-response.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-application-passwords.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-editor-context.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-list.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-parser.php Editor: Sync changes from the Gutenberg plugin 14.1 release 2022-09-20 15:43:29 +00:00
class-wp-block-pattern-categories-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-patterns-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-styles-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-supports.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-template.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-type-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-type.php Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
class-wp-block.php Blocks: Allow registering multiple items for all supported asset types 2022-09-14 10:52:08 +00:00
class-wp-comment-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-comment.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-control.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-manager.php Code Modernization: Pass correct value to `parse_url()` in `WP_Customize_Manager::get_return_url()`. 2022-09-12 21:50:14 +00:00
class-wp-customize-nav-menus.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-panel.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-section.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-setting.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-widgets.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-date-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-dependencies.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class-wp-dependency.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-editor.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-embed.php Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`. 2022-09-20 10:31:14 +00:00
class-wp-error.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-fatal-error-handler.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-feed-cache-transient.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-feed-cache.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-hook.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-cookie.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-curl.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-encoding.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-ixr-client.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-proxy.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-requests-hooks.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-requests-response.php
class-wp-http-response.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-streams.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-image-editor-gd.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
class-wp-image-editor-imagick.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
class-wp-image-editor.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
class-wp-list-util.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-locale-switcher.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-locale.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-matchesmapregex.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-meta-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-metadata-lazyloader.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-network-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-network.php Networks and Sites: Store main site id of a network in network options. 2022-09-20 14:26:10 +00:00
class-wp-object-cache.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-oembed-controller.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-oembed.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-paused-extensions-storage.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-post-type.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-post.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode-cookie-service.php Security: Salting functions: translate the phrase "put your unique phrase here". 2022-09-20 11:57:20 +00:00
class-wp-recovery-mode-email-service.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode-key-service.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode-link-service.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-rewrite.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-role.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-roles.php Role/Capability: Add a new `update_role` function. 2022-09-19 20:49:10 +00:00
class-wp-scripts.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class-wp-session-tokens.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-simplepie-file.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-simplepie-sanitize-kses.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-site-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-site.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-styles.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class-wp-tax-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-taxonomy.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-term-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-term.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-text-diff-renderer-inline.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-text-diff-renderer-table.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-textdomain-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-theme-json-data.php Editor: Backport hooks to filter `theme.json` data from Gutenberg to 6.1. 2022-09-20 13:13:21 +00:00
class-wp-theme-json-resolver.php Editor: Backport hooks to filter `theme.json` data from Gutenberg to 6.1. 2022-09-20 13:13:21 +00:00
class-wp-theme-json-schema.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-theme-json.php Editor: Add `box-shadow` support for blocks through `theme.json` files. 2022-09-20 13:50:09 +00:00
class-wp-theme.php Themes: Import Twenty Twenty-Three is now the default theme. 2022-09-20 01:36:09 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-user-request.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-user.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-walker.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-widget-factory.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-widget.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-xmlrpc-server.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp.php Bootstrap/Load: Send HTTP headers after querying posts in `WP::main()`. 2022-09-20 13:12:10 +00:00
class-wpdb.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
class.wp-dependencies.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class.wp-scripts.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class.wp-styles.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
comment-template.php Code Modernization: Replace deprecated string interpolation patterns. 2022-09-12 17:52:08 +00:00
comment.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
compat.php Code Modernization: Rename parameters to match native PHP functions in `wp-includes/compat.php`. 2022-05-08 00:29:14 +00:00
cron.php Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
date.php General: Use `WPINC` as a shorter reference to `wp-includes` in some files. 2022-06-17 11:20:13 +00:00
default-constants.php Themes: Import Twenty Twenty-Three is now the default theme. 2022-09-20 01:36:09 +00:00
default-filters.php Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`. 2022-09-20 10:31:14 +00:00
default-widgets.php
deprecated.php Docs: Correct `@return` value for `wp_get_http_headers()`. 2022-09-14 13:08:14 +00:00
embed-template.php General: Use `WPINC` as a shorter reference to `wp-includes` in some files. 2022-06-17 11:20:13 +00:00
embed.php Embeds: Fix missing labels and duplicate IDs. 2022-08-19 22:06:09 +00:00
error-protection.php Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling. 2022-04-29 19:17:11 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.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 Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
functions.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
functions.wp-scripts.php Docs: Add missing description for `$pagenow` global in various functions. 2022-04-04 18:26:06 +00:00
functions.wp-styles.php
general-template.php Docs: Correct the wording in `wp_lostpassword_url()` description. 2022-09-19 22:26:10 +00:00
global-styles-and-settings.php Editor: Backport foundation for Layout block support refactor (part 1). 2022-09-14 18:44:09 +00:00
http.php Docs: Correct `@return` value for `wp_get_http_headers()`. 2022-09-14 13:08:14 +00:00
https-detection.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
https-migration.php
kses.php Docs: Clarify the `$allowed_protocols` default value in various KSES functions. 2022-09-15 13:29:13 +00:00
l10n.php Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
link-template.php General: Add a new filter for `the_posts_pagination_args`. 2022-09-13 18:05:09 +00:00
load.php Bootstrap/Load: Introduce `is_*_admin_screen()` aliases for `is_*_admin()` function family. 2022-09-20 15:45:49 +00:00
locale.php
media-template.php Media: Change alt attribute field to textarea in media library. 2022-09-20 04:02:10 +00:00
media.php Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`. 2022-09-20 10:31:14 +00:00
meta.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
ms-blogs.php Networks and Sites: Use metadata api in ``*_network_options` functions. 2022-09-06 11:28:13 +00:00
ms-default-constants.php I18N: Remove code from a translatable string in `wp-includes/ms-default-constants.php`. 2022-07-14 13:35:13 +00:00
ms-default-filters.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
ms-deprecated.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
ms-files.php
ms-functions.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
ms-load.php Database: Use generic references to a database server in `ms_not_installed()`. 2022-05-13 12:21:13 +00:00
ms-network.php Networks and Sites: Use metadata api in ``*_network_options` functions. 2022-09-06 11:28:13 +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 Coding Standards: Rename `$r` variable to `$args` for clarity in `walk_nav_menu_tree()`. 2022-02-07 14:01:05 +00:00
nav-menu.php REST API: Some documentation and test improvements for `update_menu_item_cache()`: 2022-06-15 13:37:10 +00:00
option.php Options, Meta APIs: Add a new `pre-option` filter. 2022-09-13 19:29:12 +00:00
pluggable-deprecated.php
pluggable.php Security: Salting functions: translate the phrase "put your unique phrase here". 2022-09-20 11:57:20 +00:00
plugin.php Docs: Improve description for `doing_filter()` and `doing_action()`. 2022-08-01 11:15:14 +00:00
post-formats.php
post-template.php Posts, Post Types: Update new `wp_post_class_taxonomies` filter name for consistency. 2022-09-19 17:54:11 +00:00
post-thumbnail-template.php Docs: Misc. fixes in `wp-includes/post-template.php` and `wp-includes/post-thumbnail-template.php`. 2022-03-15 15:22:05 +00:00
post.php Media: Add caching to `wp_count_attachments()`. 2022-09-20 14:22:09 +00:00
query.php Posts, Post Types: Add caching to `_find_post_by_old_slug` and `_find_post_by_old_date` functions. 2022-06-21 13:34:13 +00:00
registration-functions.php
registration.php
rest-api.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
revision.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
rewrite.php Rewrite rules: Prevent malformed date requests throwing notices. 2022-08-07 23:05:10 +00:00
robots-template.php Docs: Adjust DocBlock formatting for `wp_robots_*()` and related functions. 2022-04-06 15:33:03 +00:00
rss-functions.php
rss.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
script-loader.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
session.php
shortcodes.php Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`. 2022-09-20 10:31:14 +00:00
sitemaps.php
spl-autoload-compat.php
style-engine.php Editor: Backport Style Engine API functions, classes and tests. 2022-09-14 12:48:16 +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 Docs: Use third-person singular verbs in Template Loading functions descriptions, as per docblocks standards. 2022-09-15 12:49:08 +00:00
theme-i18n.json Themes: Add "title" key to i18n schema 2022-03-31 10:53:04 +00:00
theme-templates.php Docs: Remove `@return void` from various DocBlocks. 2022-05-02 13:13:08 +00:00
theme.json Editor: Backport foundation for Layout block support refactor (part 1). 2022-09-14 18:44:09 +00:00
theme.php Themes: Introduces block-based template parts for Classic themes. 2022-09-15 12:20:09 +00:00
update.php Docs: Clarify `wp-includes/update.php` main docblock description. 2022-09-09 09:15:12 +00:00
user.php Editor: Persist preferences in user meta. 2022-09-15 16:45:40 +00:00
vars.php Bootstrap/Load: Avoid a PHP warning when setting the `$pagenow` global in `wp-includes/vars.php`. 2022-04-27 13:47:11 +00:00
version.php Bootstrap/Load: Introduce `is_*_admin_screen()` aliases for `is_*_admin()` function family. 2022-09-20 15:45:49 +00:00
widgets.php General: Replace all `esc_url_raw()` calls in core with `sanitize_url()`. 2022-06-01 18:14:10 +00:00
wlwmanifest.xml
wp-db.php Coding Standards: Use `__DIR__` instead of `ABSPATH` in `wp-db.php`. 2022-07-21 22:45:11 +00:00
wp-diff.php