WordPress/wp-includes
hellofromTonya 770e631dfc Editor: Add 'edit_theme_options' capabilities to wp_navigation post type.
Adds `'edit_theme_options'` capabilities top restrict Navigation permission.

Partial backport from Gutenberg https://github.com/WordPress/gutenberg/pull/37454.

Follow-up to [52069], [52145].

Props spacedmonkey, get_dave, hellofromTonya.
See #54487.
Built from https://develop.svn.wordpress.org/trunk@52400


git-svn-id: http://core.svn.wordpress.org/trunk@51992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-12-21 04:26:00 +00:00
..
assets Update @wordpress packages 2021-12-14 01:57:26 +00:00
block-patterns Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9 2021-11-09 02:17:17 +00:00
block-supports Fix deprecated usage of passing null to explode() 2021-12-15 04:08:04 +00:00
blocks Update @wordpress packages 2021-12-14 01:57:26 +00:00
certificates
css Update @wordpress packages 2021-12-14 01:57:26 +00:00
customize Customize: Overlay incompatible banner for block themes. 2021-12-14 15:33:01 +00:00
fonts
ID3 External Libraries: Update getID3 to version 1.9.21. 2021-11-26 03:06:03 +00:00
images Coding Standards: Revert accidental image changes in [52171]. 2021-11-16 00:04:01 +00:00
IXR
js Media: Fix selections in Media Library Featured Image modal on open. 2021-12-17 20:17:05 +00:00
php-compat
PHPMailer External Libraries: Upgrade PHPMailer to version 6.5.3. 2021-11-26 00:43:01 +00:00
pomo Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
random_compat
Requests HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
rest-api REST API: Support . in theme directory names in WP_REST_Global_Styles_Controller, WP_REST_Templates_Controller, and WP_REST_Themes_Controller. 2021-12-21 04:14:00 +00:00
SimplePie External Libraries: Update the SimplePie library to version 1.5.7. 2021-12-20 19:33:00 +00:00
sitemaps Docs: Various corrections and improvements relating to types used in inline documentation. 2021-11-18 13:50:05 +00:00
sodium_compat
Text
theme-compat Docs: Various corrections and improvements relating to types used in inline documentation. 2021-11-18 13:50:05 +00:00
widgets Widgets: Add filter to disable RSS widget icon. 2021-11-07 23:04:56 +00:00
admin-bar.php Themes: Better names for WP_Theme::is_block_theme() and wp_is_block_theme() and make wp_is_block_theme() a wrapper. 2021-12-07 00:02:02 +00:00
atomlib.php
author-template.php
block-editor.php Update @wordpress packages 2021-12-14 01:57:26 +00:00
block-i18n.json
block-patterns.php Editor: Add "Featured" patterns from pattern directory to Patterns in block inserter. 2021-12-14 19:39:06 +00:00
block-template-utils.php Update @wordpress packages 2021-12-14 01:57:26 +00:00
block-template.php Editor: Resolve template request ?_wp-find-template=true for new posts and pages. 2021-12-03 19:39:00 +00:00
blocks.php Docs: Docblock adjustments in some 5.9 block related functions. 2021-12-11 11:16:03 +00:00
bookmark-template.php General: Add "noopener" to wp_list_bookmarks() output. 2021-11-08 23:06:58 +00:00
bookmark.php
cache-compat.php
cache.php
canonical.php
capabilities.php Users: Prevent infinite loop when using capability checks during determine_current_user on multisite. 2021-11-15 01:09:59 +00:00
category-template.php Docs: Various corrections and improvements relating to types used in inline documentation. 2021-11-18 13:50:05 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-simplepie.php External Libraries: Update the SimplePie library to version 1.5.7. 2021-12-20 19:33:00 +00:00
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php Taxonomy: Allow get_*_*_link() and edit_term_link() functions to accept a term ID, WP_Term, or term object. 2021-11-16 14:57:02 +00:00
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php Editor: Fix how the Site Editor is linked to 2021-11-15 03:43:59 +00:00
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 Docs: Improve the documentation for registering block patterns and block pattern categories. 2021-11-19 19:05:59 +00:00
class-wp-block-patterns-registry.php Docs: Various docblock corrections and improvements. 2021-11-23 21:37:01 +00:00
class-wp-block-styles-registry.php Editor: Ensure block style name does not contain spaces before creating the class. 2021-11-28 13:53:00 +00:00
class-wp-block-supports.php Docs: Various docblock corrections and improvements. 2021-11-23 21:37:01 +00:00
class-wp-block-template.php Editor: Explicitly declare $post_types and $area properties in WP_Block_Template class. 2021-12-21 00:28:00 +00:00
class-wp-block-type-registry.php
class-wp-block-type.php
class-wp-block.php Docs: Various docblock corrections. 2021-12-01 12:17:00 +00:00
class-wp-comment-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php Customize: Overlay incompatible banner for block themes. 2021-12-14 15:33:01 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php Docs: Update some @var tags per the documentation standards. 2021-12-11 19:50:59 +00:00
class-wp-customize-section.php Docs: Update some @var tags per the documentation standards. 2021-12-11 19:50:59 +00:00
class-wp-customize-setting.php
class-wp-customize-widgets.php Docs: Correct the format of some comments per the documentation standards. 2021-12-10 20:30:05 +00:00
class-wp-date-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
class-wp-dependency.php
class-wp-editor.php
class-wp-embed.php External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
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 Plugins: Correct the documented allowable types for to the $callback parameter of various hook related functions. 2021-12-01 13:22:01 +00:00
class-wp-http-cookie.php
class-wp-http-curl.php
class-wp-http-encoding.php Coding Standards: Rename the $gzData argument to $gz_data in WP_Http_Encoding::compatible_gzinflate(). 2021-11-12 23:51:59 +00:00
class-wp-http-ixr-client.php
class-wp-http-proxy.php Docs: Various docblock corrections. 2021-12-01 12:17:00 +00:00
class-wp-http-requests-hooks.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-wp-http-requests-response.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-wp-http-response.php
class-wp-http-streams.php
class-wp-http.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php
class-wp-image-editor.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
class-wp-list-util.php General: Convert wp_list_filter() into a wrapper for wp_filter_object_list(). 2021-11-09 01:10:59 +00:00
class-wp-locale-switcher.php
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +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
class-wp-paused-extensions-storage.php
class-wp-post-type.php Docs: Remove instances of the “eg.” abbreviation in favor of “example” or “for example”. 2021-11-19 14:44:01 +00:00
class-wp-post.php
class-wp-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +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
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php Query: Correct and standardise the meta query documentation. 2021-11-20 00:07:59 +00:00
class-wp-site.php
class-wp-tax-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
class-wp-taxonomy.php
class-wp-term-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +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 Themes: Rename public static functions in WP_Theme_JSON_Resolver to remove custom_post_type references. 2021-12-14 16:14:01 +00:00
class-wp-theme-json-schema.php Docs: Docblock typo correction in WP_Theme_JSON_Schema. 2021-12-02 20:45:01 +00:00
class-wp-theme-json.php Update @wordpress packages 2021-12-14 01:57:26 +00:00
class-wp-theme.php Filter custom block templates with PHP 2021-12-14 02:46:00 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
class-wp-user-request.php
class-wp-user.php
class-wp-walker.php Docs: Remove instances of the “eg.” abbreviation in favor of “example” or “for example”. 2021-11-19 14:44:01 +00:00
class-wp-widget-factory.php
class-wp-widget.php Widgets: Use isset() in WP_Widget:: display_callback() to support ArrayIterator and ArrayObject. 2021-11-16 01:43:00 +00:00
class-wp-xmlrpc-server.php
class-wp.php
class.wp-dependencies.php Coding Standards: Replace else if with elseif after [52338]. 2021-12-07 17:49:01 +00:00
class.wp-scripts.php
class.wp-styles.php
comment-template.php Comments: Fix PHP Notice "trying to get property of non-object" in comments_open() and pings_open(). 2021-11-19 20:24:00 +00:00
comment.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
compat.php
cron.php Docs: Various docblock corrections and improvements. 2021-11-23 21:37:01 +00:00
date.php
default-constants.php Themes: Twenty Twenty-Two is now the default theme. 2021-11-10 00:41:00 +00:00
default-filters.php Editor: Add "Featured" patterns from pattern directory to Patterns in block inserter. 2021-12-14 19:39:06 +00:00
default-widgets.php
deprecated.php
embed-template.php
embed.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
error-protection.php
feed-atom-comments.php
feed-atom.php Feeds: Remove reference to wp-atom.php in Atom feeds xml:base attribute. 2021-11-29 09:52:00 +00:00
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php
formatting.php Formatting: Use is_scalar() in sanitize_key(). 2021-12-14 15:01:03 +00:00
functions.php Docs: Correct the format of some comments per the documentation standards. 2021-12-10 20:30:05 +00:00
functions.wp-scripts.php
functions.wp-styles.php Script Loader: Document path as an accepted value for $key in wp_style_add_data(). 2021-11-19 15:14:00 +00:00
general-template.php Template: Fix "undefined index: 00" when archive month query is empty in wp_title(). 2021-11-11 16:29:00 +00:00
global-styles-and-settings.php Update @wordpress packages 2021-11-30 00:24:27 +00:00
http.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
https-detection.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
https-migration.php
kses.php KSES: Use the polyfilled PHP 8 string functions in _wp_kses_allow_pdf_objects(): 2021-12-06 11:08:01 +00:00
l10n.php Docs: Typo correction in wp_dropdown_languages() DocBlock. 2021-12-20 22:26:02 +00:00
link-template.php Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way. 2021-12-12 14:54:00 +00:00
load.php Application Passwords: Show HTTPS required message without filtering when not enabled or not in local environment. 2021-12-21 02:45:03 +00:00
locale.php
media-template.php Media: Move dismiss upload errors button after errors. 2021-11-17 15:56:03 +00:00
media.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
meta.php Options, Meta APIs: Correct docs for $_meta_value parameter in xxx_{$meta_type}_meta hooks. 2021-11-11 18:32:00 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php Posts, Post Types: Multisite: Decrement post_count option value when a post is deleted. 2021-11-18 15:11:59 +00:00
ms-deprecated.php
ms-files.php
ms-functions.php Docs: Various docblock corrections. 2021-12-01 12:17:00 +00:00
ms-load.php
ms-network.php
ms-settings.php
ms-site.php Docs: Corrections relating to types used in inline documentation for comment ID and site ID proprties. 2021-11-18 13:57:01 +00:00
nav-menu-template.php
nav-menu.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
option.php
pluggable-deprecated.php
pluggable.php Docs: Add missing null allowed type for the $id parameter of wp_set_current_user(). 2021-11-18 16:04:00 +00:00
plugin.php Plugins: Correct the documented allowable types for to the $callback parameter of various hook related functions. 2021-12-01 13:22:01 +00:00
post-formats.php
post-template.php Docs: Various corrections and improvements relating to types used in inline documentation. 2021-11-18 13:50:05 +00:00
post-thumbnail-template.php Docs: Various corrections and improvements relating to types used in inline documentation. 2021-11-18 13:50:05 +00:00
post.php Editor: Add 'edit_theme_options' capabilities to wp_navigation post type. 2021-12-21 04:26:00 +00:00
query.php
registration-functions.php
registration.php
rest-api.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
revision.php Revisions: Introduce wp_get_post_revisions_url() to get URL for editing revisions. 2021-11-10 01:26:59 +00:00
rewrite.php
robots-template.php
rss-functions.php
rss.php
script-loader.php Script Loader: Skip getting 'can_compress_scripts' option in script_concat_settings() during install. 2021-12-20 23:53:01 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php
taxonomy.php Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way. 2021-12-12 14:54:00 +00:00
template-canvas.php Docs: Correct the format of some comments per the documentation standards. 2021-12-10 20:30:05 +00:00
template-loader.php
template.php
theme-i18n.json
theme-templates.php Themes: Auto-enable block-templates support for all block themes. 2021-12-09 09:56:04 +00:00
theme.json Update @wordpress packages 2021-11-30 00:24:27 +00:00
theme.php Tests: Add unit tests for theme features that block themes should support by default. 2021-12-16 14:47:04 +00:00
update.php Upgrade/install: Revert upgrader rollback features. 2021-12-10 00:06:04 +00:00
user.php Application Passwords: Show HTTPS required message without filtering when not enabled or not in local environment. 2021-12-21 02:45:03 +00:00
vars.php
version.php Editor: Add 'edit_theme_options' capabilities to wp_navigation post type. 2021-12-21 04:26:00 +00:00
widgets.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00
wlwmanifest.xml
wp-db.php Database: Correct and improve documentation for properties and parameters in wpdb. 2021-12-14 16:24:02 +00:00
wp-diff.php