WordPress/wp-includes
John Blackbourn 2062b81430 Build/Test Tools: Ensure user capability assertions are performed for all default roles.
The existing assertions were erroneously placed outside the iteration of all users, and therefore were only run against the last user in the list, which is the Subscriber role.

See #51344, #32394

Built from https://develop.svn.wordpress.org/trunk@49604


git-svn-id: http://core.svn.wordpress.org/trunk@49342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-15 14:19:08 +00:00
..
assets Editor: Update packages. 2020-11-12 19:36:36 +00:00
block-patterns
block-supports General: Convert wp_array_get() to a "private" function and add tests. 2020-11-12 20:20:12 +00:00
blocks Editor: Update packages. 2020-11-12 19:36:36 +00:00
certificates
css Editor: Update packages. 2020-11-12 19:36:36 +00:00
customize Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
fonts
ID3
images
IXR
js Editor: Update packages. 2020-11-12 19:36:36 +00:00
PHPMailer
pomo
random_compat
Requests
rest-api Editor: Display short description from block directory in results. 2020-11-10 20:26:08 +00:00
SimplePie
sitemaps
sodium_compat
Text
theme-compat
widgets
admin-bar.php
atomlib.php
author-template.php
block-patterns.php
blocks.php
bookmark-template.php
bookmark.php
cache-compat.php
cache.php
canonical.php Canonical: Prevent ID enumeration of private post slugs. 2020-11-12 04:16:08 +00:00
capabilities.php
category-template.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
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
class-walker-category.php
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-application-passwords.php
class-wp-block-list.php
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-type-registry.php
class-wp-block-type.php
class-wp-block.php Coding Standards: Adjust formatting in WP_Block::render() for better readability. 2020-11-09 11:01:05 +00:00
class-wp-comment-query.php
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php
class-wp-customize-nav-menus.php
class-wp-customize-panel.php
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-customize-widgets.php
class-wp-date-query.php
class-wp-dependency.php
class-wp-editor.php I18N: Merge duplicate "Column" strings, remove unnecessary context. 2020-11-09 11:17:07 +00:00
class-wp-embed.php
class-wp-error.php
class-wp-fatal-error-handler.php Site Health: Site errors are for *this* site, not necessarily *your* site. 2020-11-02 19:55:07 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php Feeds: Register transient feed cache handler using the recommended method for SimplePie 1.3 or later. 2020-11-12 14:36:10 +00:00
class-wp-hook.php Docs: Add more information about how to use filters that run before WordPress initialises. 2020-11-03 17:36:09 +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
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php Coding Standards: Use consistent formatting for error messages in WP_Image_Editor_Imagick::write_image() and ::strip_meta(). 2020-11-09 15:35:05 +00:00
class-wp-image-editor.php
class-wp-list-util.php
class-wp-locale-switcher.php I18N: Revert [49236] for now to investigate alternative implementations. 2020-11-12 14:43:09 +00:00
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php
class-wp-metadata-lazyloader.php
class-wp-network-query.php Networks and Sites: Assign the array of site or network data returned from filters to the respective class property: 2020-11-08 11:47:06 +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 Docs: Change the @since entry for template and template_lock post type arguments to 5.0.0. 2020-11-04 02:47:05 +00:00
class-wp-post.php Docs: Docblock corrections relating to WP_Post objects. 2020-11-09 15:15:08 +00:00
class-wp-query.php Docs: Improve documentation for WP_Query::is_archive() per the documentation standards. 2020-11-05 09:44:05 +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 Networks and Sites: Assign the array of site or network data returned from filters to the respective class property: 2020-11-08 11:47:06 +00:00
class-wp-site.php
class-wp-tax-query.php
class-wp-taxonomy.php
class-wp-term-query.php
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php
class-wp-theme.php
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 Docs: Fix typo in a comment in Walker::display_element(). 2020-11-05 18:46:10 +00:00
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php
class-wp.php Docs: Synchronize descriptions of some query functions and their counterpart methods in WP and WP_Query classes: 2020-10-06 08:59:04 +00:00
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-template.php
comment.php
compat.php
cron.php
date.php
default-constants.php
default-filters.php
default-widgets.php
deprecated.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
embed-template.php
embed.php
error-protection.php Docs: Add more information about how to use filters that run before WordPress initialises. 2020-11-03 17:36:09 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Feeds: Register transient feed cache handler using the recommended method for SimplePie 1.3 or later. 2020-11-12 14:36:10 +00:00
formatting.php Docs: Add a @see reference to esc_url() from esc_url_raw(). 2020-11-06 14:16:07 +00:00
functions.php General: Convert wp_array_get() to a "private" function and add tests. 2020-11-12 20:20:12 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
http.php
kses.php
l10n.php I18N: Revert [49236] for now to investigate alternative implementations. 2020-11-12 14:43:09 +00:00
link-template.php Canonical: Prevent ID enumeration of private post slugs. 2020-11-12 04:16:08 +00:00
load.php
locale.php
media-template.php Media: Allow users to switch from media grid to list mode in media library. 2020-11-12 15:46:07 +00:00
media.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
meta.php
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
ms-load.php
ms-network.php
ms-settings.php
ms-site.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
nav-menu-template.php
nav-menu.php
option.php Docs: For clarity, add some information about the return types of get_option(). 2020-11-14 17:02:05 +00:00
pluggable-deprecated.php
pluggable.php
plugin.php
post-formats.php Docs: Docblock corrections relating to WP_Post objects. 2020-11-09 15:15:08 +00:00
post-template.php
post-thumbnail-template.php
post.php Docs: Clarify that get_pages() returns an array of pages, not an HTML list. 2020-11-14 15:01:13 +00:00
query.php Docs: Improve documentation for WP_Query::is_archive() per the documentation standards. 2020-11-05 09:44:05 +00:00
registration-functions.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
registration.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
rest-api.php REST API: Use _n() in some error messages for proper plural forms support. 2020-11-07 21:59:11 +00:00
revision.php
rewrite.php
rss-functions.php
rss.php
script-loader.php App Passwords: Further accessibility improvements. 2020-11-09 18:05:08 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php Coding Standards: Pass an empty string instead of null as the $replacement parameter to _deprecated_file(). 2020-11-12 11:17:07 +00:00
taxonomy.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
template-loader.php
template.php
theme.php
update.php
user.php Privacy: More precise checking of user request action names. 2020-11-02 18:42:04 +00:00
vars.php
version.php Build/Test Tools: Ensure user capability assertions are performed for all default roles. 2020-11-15 14:19:08 +00:00
widgets.php Docs: Clarify sprintf() usage for the before_widget argument of register_sidebar(). 2020-11-11 10:39:09 +00:00
wlwmanifest.xml
wp-db.php
wp-diff.php