WordPress/wp-includes
Scott Taylor 1b52916239 Create a function, `wp_roles()`, to DRY the inline instantiation of the `$wp_roles` global.
Add missing doc blocks for `capabilities.php`.

See #32444.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-22 04:47:24 +00:00
..
ID3
SimplePie
Text
certificates
css Autoprefixer for [32506]. see #31874. 2015-05-15 20:44:25 +00:00
fonts
images Smilies: Update our few remaining smilies to better align with Twemoji, and add frownie.png until Twemoji provide a build containing it. 2015-04-10 06:20:26 +00:00
js In `tb_show()` in `thickbox`, when loading content into `#TB_ajaxContent`, make sure a URL with no `?` doesn't break when `&random=` is appended to it. 2015-05-13 21:42:24 +00:00
pomo Replace `array_shift()` with `reset()` where appropriate for performance. 2015-03-19 03:56:27 +00:00
theme-compat Add a sanity check to `theme-compat/header.php` to avoid outputting CSS which could reference a non-existant file. 2015-05-12 10:47:29 +00:00
admin-bar.php Add missing doc blocks to `admin-bar.php`. 2015-05-22 04:00:26 +00:00
atomlib.php Merge similar error strings. 2015-05-09 18:27:26 +00:00
author-template.php Add missing doc blocks to `author-template.php`. 2015-05-22 04:14:24 +00:00
bookmark-template.php
bookmark.php In `bookmark.php`, clarify some `return` docs. 2015-05-21 20:13:25 +00:00
cache.php Add/standardize missing doc blocks for `cache.php`. 2015-05-22 04:24:26 +00:00
canonical.php Add missing doc blocks for `canonical.php`. 2015-05-22 04:26:26 +00:00
capabilities.php Create a function, `wp_roles()`, to DRY the inline instantiation of the `$wp_roles` global. 2015-05-22 04:47:24 +00:00
category-template.php In `category-template.php`: 2015-05-21 21:05:24 +00:00
category.php In `category.php`: 2015-05-21 21:18:24 +00:00
class-IXR.php
class-feed.php In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
class-http.php `self` should be used for accessing local static members. 2015-03-09 02:22:26 +00:00
class-json.php
class-oembed.php In `class-oembed.php`, clarify/add some `return` docs. 2015-05-21 21:31:27 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php In `class-wp-admin-bar.php`, clarify/add some doc blocks. 2015-05-21 21:39:24 +00:00
class-wp-ajax-response.php
class-wp-customize-control.php In `class-wp-customize-*`, clarify/add some `@param`/`@return` blocks. Disambiguate some functions that are trying to return the `void` response of another function they call internally. 2015-05-21 22:05:24 +00:00
class-wp-customize-manager.php In `class-wp-customize-*`, clarify/add some `@param`/`@return` blocks. Disambiguate some functions that are trying to return the `void` response of another function they call internally. 2015-05-21 22:05:24 +00:00
class-wp-customize-panel.php Add a missing file header to wp-includes/class-wp-customize-panel.php, separate out the class DocBlock for `WP_Customize_Panel`. 2015-02-25 08:09:25 +00:00
class-wp-customize-section.php In `class-wp-customize-*`, clarify/add some `@param`/`@return` blocks. Disambiguate some functions that are trying to return the `void` response of another function they call internally. 2015-05-21 22:05:24 +00:00
class-wp-customize-setting.php In `class-wp-customize-*`, clarify/add some `@param`/`@return` blocks. Disambiguate some functions that are trying to return the `void` response of another function they call internally. 2015-05-21 22:05:24 +00:00
class-wp-customize-widgets.php In `class-wp-customize-*`, clarify/add some `@param`/`@return` blocks. Disambiguate some functions that are trying to return the `void` response of another function they call internally. 2015-05-21 22:05:24 +00:00
class-wp-editor.php Add missing doc blocks to `class-wp-editor.php`. 2015-05-22 03:52:27 +00:00
class-wp-embed.php After [32258], restore the parts of [31620] and [31626] that weren't changes to the UI, but were improvements to existing code. 2015-04-30 21:40:25 +00:00
class-wp-error.php In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php In the `->multi_resize()` method of the `WP_Image_Editor` subclasses, when looping through potential crops, we need to make sure the crop isn't the exact same dimensions as the original image before copying it as a new crop. 2015-02-27 19:38:27 +00:00
class-wp-image-editor-imagick.php In the `->multi_resize()` method of the `WP_Image_Editor` subclasses, when looping through potential crops, we need to make sure the crop isn't the exact same dimensions as the original image before copying it as a new crop. 2015-02-27 19:38:27 +00:00
class-wp-image-editor.php
class-wp-theme.php Add a missing `@return` tag and description to the DocBlock for `WP_Theme::scandir()`. 2015-05-05 00:34:25 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php Merge similar error strings for invalid data. 2015-05-09 21:09:25 +00:00
class-wp.php [31210] broke Supportflow on dotorg, which declares these methods as `protected`. Switch to `protected` for the noop methods. The subclasses can make them more visible using `public`. 2015-01-16 18:37:24 +00:00
class.wp-dependencies.php Add a return value to `wp_register_script()` and `wp_register_style()` which matches the return value of `WP_Dependencies::add()`. 2015-05-10 19:57:25 +00:00
class.wp-scripts.php Revert [31030] and [31033]. Incidentally, there is no lazy-loading happening here anyway. 2015-04-14 15:13:28 +00:00
class.wp-styles.php
comment-template.php In `comment_form()`, ensure that filtered arguments contain all required default values. 2015-05-19 01:04:25 +00:00
comment.php Update the DocBlock for `wp_new_comment()` to reference the `wp_insert_comment()` documentation for argument information. 2015-05-13 02:54:26 +00:00
compat.php WPDB: When checking that a string can be sent to MySQL, we shouldn't use `mb_convert_encoding()`, as it behaves differently to MySQL's character encoding conversion. 2015-05-06 03:00:25 +00:00
cron.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
date.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
default-constants.php
default-filters.php Clean up wp_staticize_emoji() and friends. 2015-04-20 04:15:26 +00:00
default-widgets.php Text Widget: Use `!empty()` for checking if the filter setting is set. 2015-03-25 17:34:28 +00:00
deprecated.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant. 2015-05-09 06:39:24 +00:00
feed-rss2-comments.php Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant. 2015-05-09 06:39:24 +00:00
feed-rss2.php Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant. 2015-05-09 06:39:24 +00:00
feed.php In `fetch_feed()`, call `->set_output_encoding()` on the `SimplePie` instance to ensure the feed is served with encoding specified by the `blog_charset` option. 2015-05-09 06:49:24 +00:00
formatting.php In `sanitize_option()`, pass the unsanitized `$value` to the filter. 2015-05-21 18:00:26 +00:00
functions.php s/anbled/enabled/ in `global_terms_enabled` filter documentation. 2015-05-19 06:35:25 +00:00
functions.wp-scripts.php Add a return value to `wp_register_script()` and `wp_register_style()` which matches the return value of `WP_Dependencies::add()`. 2015-05-10 19:57:25 +00:00
functions.wp-styles.php Add a return value to `wp_register_script()` and `wp_register_style()` which matches the return value of `WP_Dependencies::add()`. 2015-05-10 19:57:25 +00:00
general-template.php In `paginate_links()`, improve handling of custom pagination query vars. 2015-05-05 21:59:26 +00:00
http.php
kses.php Add `<s>` to `$allowedtags` in KSES. 2015-01-16 16:07:23 +00:00
l10n.php Allow `wp_dropdown_languages()` to return the markup instead of displaying. 2015-05-19 00:33:26 +00:00
link-template.php Press This: check the bookmarklet version and add the update notice from PHP. 2015-04-10 21:08:29 +00:00
load.php Add useremail and userslugs as global cache groups. fixes #31243. 2015-02-06 03:24:23 +00:00
locale.php
media-template.php Media: Visually align upload errors with other admin notices. 2015-05-15 16:19:26 +00:00
media.php Rename `get_media_embedded_in_content_allowed` filter to `media_embedded_in_content_allowed_types`. 2015-04-11 21:49:27 +00:00
meta.php Allow metadata to be deleted when meta_value matches 0 or '0'. 2015-05-01 16:38:29 +00:00
ms-blogs.php Remove leading space from the definition of a global cache group. 2015-02-06 03:26:22 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php [31210] broke Supportflow on dotorg, which declares these methods as `protected`. Switch to `protected` for the noop methods. The subclasses can make them more visible using `public`. 2015-01-16 18:37:24 +00:00
ms-files.php
ms-functions.php Multisite: Add translator comments to default email messages with non-typical placeholders. 2015-05-06 09:12:25 +00:00
ms-load.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
ms-settings.php
nav-menu-template.php
nav-menu.php When priming the cache for taxonomy term nav items, don't fetch term descendants. 2015-04-24 18:58:27 +00:00
option.php Update the DocBlock description for `update_option()` to account for the ability to define the `$autoload` parameter, added in 4.2. 2015-05-10 16:58:27 +00:00
pluggable-deprecated.php
pluggable.php Introduce a `$token` argument to `wp_set_auth_cookie()` so session tokens can be reused by custom authentication implementations. 2015-05-09 00:28:27 +00:00
plugin.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
post-formats.php Merge similar error strings for invalid data. 2015-05-09 21:09:25 +00:00
post-template.php Don't print the `custom-background` class in `body_class()` when a default color is in use. 2015-04-08 17:29:26 +00:00
post-thumbnail-template.php Adjust DocBlocks for `get_|the_post_thumbnail()` to clarify the difference between the 'thumbnail' and 'post-thumbnail' image sizes. 2015-03-20 19:57:26 +00:00
post.php Streamline support for multiple post types in `get_posts_by_author_sql()`. 2015-05-21 19:49:29 +00:00
query.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
registration-functions.php
registration.php
revision.php Merge similar error strings for invalid data. 2015-05-09 21:09:25 +00:00
rewrite.php Allow rewrite endpoints to be registered without also registering query vars. 2015-04-24 16:38:28 +00:00
rss-functions.php
rss.php
script-loader.php Make translator comments for the strings added in [31982] more accurate. Add some new comments. 2015-04-20 15:44:25 +00:00
session.php Fix some internal types that are passed to functions to avoid changing the acceptable types passed as arguments to those functions: 2015-01-16 22:51:21 +00:00
shortcodes.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
taxonomy.php Respect `$_wp_suspend_cache_invalidation` in `clean_term_cache()`. 2015-05-12 20:14:26 +00:00
template-loader.php
template.php Escape the $s global. 2015-04-27 05:10:27 +00:00
theme.php Add a missing return description for `has_header_image()`. 2015-04-05 17:11:28 +00:00
update.php Don't try to call `wp_clean_plugins_cache();` twice in `wp_clean_update_cache()`. 2015-03-18 22:07:28 +00:00
user.php Create a function, `wp_roles()`, to DRY the inline instantiation of the `$wp_roles` global. 2015-05-22 04:47:24 +00:00
vars.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
version.php Create a function, `wp_roles()`, to DRY the inline instantiation of the `$wp_roles` global. 2015-05-22 04:47:24 +00:00
widgets.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
wlwmanifest.xml
wp-db.php In `wpdb::load_col_info()`, don't fetch the number of fields in the result row on each iteration of the `for` loop. It can be stored in a var and referenced. 2015-05-19 20:30:27 +00:00
wp-diff.php Add a missing description for the `$_diff_threshold` property in the `WP_Text_Diff_Renderer_Table` class. 2015-01-29 11:36:22 +00:00