WordPress/wp-includes
Scott Taylor 5ea01de963 XML-RPC: Introduce the concept of unit testing to `wp_xmlrpc_server::wp_newComment()`:
* Don't allow comments to be created for posts that have `comment_status` set to `'closed'`
* Set some magic props on `WP_User` to vars before passing them to `wp_xmlrpc_server::escape()`

Props wonderboymusic, jesin.
Fixes #27471.

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


git-svn-id: http://core.svn.wordpress.org/trunk@34523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-25 20:20:23 +00:00
..
ID3
SimplePie
Text
certificates HTTP: Update the Root Certificate bundle. 2015-09-18 08:43:26 +00:00
css Update links to the user profile editing screen in the admin toolbar when the current logged in user has no role on the current site. Covers single site and Multisite and introduces tests. 2015-09-14 17:10:26 +00:00
fonts
images
js MediaElement, update `wp-mediaelement.js`: 2015-09-20 03:17:24 +00:00
pomo Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
theme-compat Theme Compat: Remove two strings from `comments-popup.php`. 2015-09-20 08:49:27 +00:00
widgets Docs: Add a missing summary, version, and tag descriptions to the DocBlock for `WP_Widget_Text::widget()`. 2015-09-25 19:24:24 +00:00
admin-bar.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
atomlib.php
author-template.php
bookmark-template.php
bookmark.php After [33843], update the location of some files in `This filter is documented in` docs 2015-09-08 22:17:26 +00:00
cache.php Docs: Improve documentation for the `WP_Object_Cache` class. 2015-09-16 10:03:26 +00:00
canonical.php Canonical/Rewrite: sanity check posts that are paged with `<!--nextpage-->`. Page numbers past the max number of pages are returning the last page of content and causing infinite duplicate content. 2015-09-24 14:04:24 +00:00
capabilities-functions.php Docs: The Users subpackage is plural. 2015-09-22 13:46:25 +00:00
capabilities.php Docs: The Users subpackage is plural. 2015-09-22 13:46:25 +00:00
category-functions.php Docs: Clarify the file header summary and subpackage for wp-includes/category-functions.php, introduced in [34110]. 2015-09-22 14:21:23 +00:00
category-template.php Docs: Clarify the file header summary and version for wp-includes/category-template.php. 2015-09-22 14:23:24 +00:00
category.php Docs: Clarify the file header for wp-includes/category.php. 2015-09-22 14:20:24 +00:00
class-IXR.php
class-feed.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
class-http.php Docs: Improve the summary and description for the `pre_http_request` filter docs to better illustrate expected values. 2015-09-24 18:52:25 +00:00
class-json.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
class-oembed.php Update the oEmbed endpoint URL for Photobucket. 2015-09-24 22:03:25 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
class-simplepie.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
class-smtp.php
class-snoopy.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
class-walker-category-dropdown.php Docs: Clarify the file header for wp-includes/class-walker-category-dropdown.php, introduced in [34110]. 2015-09-22 14:03:25 +00:00
class-walker-category.php Docs: Clarify the file header summary for wp-includes/class-walker-category.php, introduced in [34110]. 2015-09-22 14:01:25 +00:00
class-walker-comment.php Docs: The Comment API is singular. 2015-09-22 13:43:25 +00:00
class-walker-page-dropdown.php Docs: Clarify the file header subpackage for wp-includes/class-walker-page-dropdown.php, introduced in [34109]. 2015-09-22 13:58:24 +00:00
class-walker-page.php Docs: Actually, the subpackage for `Walker_Page` should be Template. 2015-09-22 15:09:24 +00:00
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-comment-query.php Remove debug cruft, introduced in [34546]. 2015-09-25 15:26:25 +00:00
class-wp-comment.php Introduce hierarchical query support to `WP_Comment_Query`. 2015-09-25 15:13:24 +00:00
class-wp-customize-control.php
class-wp-customize-manager.php Customize: Flesh out phpdoc for `WP_Customize_Manager`. 2015-09-19 06:40:26 +00:00
class-wp-customize-nav-menus.php Customizer: Use the plural label for available menu item types. 2015-09-24 09:16:25 +00:00
class-wp-customize-panel.php Customize: Remove redundant `aria-label` attributes. 2015-09-13 06:16:26 +00:00
class-wp-customize-section.php Round 2 of: We should use ellipses &hellip; / … instead of three dots/periods ... e.g Loading… not Loading... 2015-09-09 04:39:25 +00:00
class-wp-customize-setting.php Add Customizer docs. 2015-09-05 19:53:24 +00:00
class-wp-customize-widgets.php
class-wp-editor.php Add a comment to strings where the ellipsis cannot be used due to `json_encode()`, placeholders, or external dependencies. 2015-09-16 11:59:26 +00:00
class-wp-embed.php
class-wp-error.php
class-wp-http-cookie.php
class-wp-http-curl.php After [33843], update the location of some files in `This filter is documented in` docs 2015-09-08 22:17:26 +00:00
class-wp-http-encoding.php
class-wp-http-ixr-client.php Docs: Update the hook doc summary for the `wp_http_ixr_client_headers` filter, introduced in [34164]. 2015-09-15 16:16:43 +00:00
class-wp-http-proxy.php
class-wp-http-streams.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
class-wp-image-editor.php
class-wp-meta-query.php Docs: Add a file header to wp-includes/class-wp-meta-query.php, introduced in [33761]. 2015-09-22 13:26:23 +00:00
class-wp-network.php Multisite: Implement the `get_by_path` method in `WP_Network`. 2015-09-13 23:40:24 +00:00
class-wp-post.php Docs: Add a file header to wp-includes/class-wp-post.php, introduced in [33759]. 2015-09-22 13:10:24 +00:00
class-wp-rewrite.php Canonical/Rewrite: sanity check posts that are paged with `<!--nextpage-->`. Page numbers past the max number of pages are returning the last page of content and causing infinite duplicate content. 2015-09-24 14:04:24 +00:00
class-wp-role.php Docs: The Users subpackage is plural. 2015-09-22 13:46:25 +00:00
class-wp-roles.php Docs: The Users subpackage is plural. 2015-09-22 13:46:25 +00:00
class-wp-tax-query.php Docs: Add a file header to wp-includes/class-wp-tax-query.php, introduced in [33760]. 2015-09-22 13:16:30 +00:00
class-wp-theme.php Docs: Fix some syntactical issues with the DocBlock for the `WP_Theme->update` property, introduced in [33957]. 2015-09-16 13:29:25 +00:00
class-wp-user-query.php Introduce 'paged' parameter for `WP_User_Query`. 2015-09-25 04:26:29 +00:00
class-wp-user.php Users: in `WP_User::__unset()`, don't reset the deprecated prop `id` to `ID`. Still throw the deprecated notice. 2015-09-24 00:49:25 +00:00
class-wp-walker.php Docs: Add missing parameter and return descriptions for `Walker::get_number_of_root_elements()`. 2015-09-14 15:33:27 +00:00
class-wp-widget-factory.php Docs: The Widgets subpackage is plural. 2015-09-22 13:48:25 +00:00
class-wp-widget.php Docs: The Widget API is singular. 2015-09-22 12:28:27 +00:00
class-wp-xmlrpc-server.php XML-RPC: Introduce the concept of unit testing to `wp_xmlrpc_server::wp_newComment()`: 2015-09-25 20:20:23 +00:00
class-wp.php After [34492], no need to import the global instance when we are, in fact, currently, that instance. 2015-09-24 14:20:24 +00:00
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-functions.php Improve status checks when sending comment post author notification. 2015-09-25 14:43:24 +00:00
comment-template.php Comments: In `comment_form()`, move the comment textarea to the top for logged-out users when replying, improves keyboard/focus navigation. 2015-09-24 22:00:28 +00:00
comment.php Docs: The Comment API is singular. 2015-09-22 13:44:25 +00:00
compat.php
cron.php Document `@return` value for `wp_unschedule_event()`. 2015-09-11 11:35:24 +00:00
date.php
default-constants.php
default-filters.php Introduce metadata for taxonomy terms. 2015-09-25 03:59:27 +00:00
default-widgets.php Docs: Clarify the file header summary for wp-includes/default-widgets.php, the top-level file for bringing in the core widget classes. 2015-09-22 13:36:25 +00:00
deprecated.php Deprecate `wp_get_http()` - function isn't used anywhere (apart from itself). 2015-09-09 04:26:25 +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: Make a minor adjustment to the description syntax for the optional `$comment` argument in the DocBlock for `comment_link()`, introduced in [34071]. 2015-09-16 11:02:24 +00:00
formatting.php Sanitization: when falling back to (wait for it...) `$fallback` in `sanitize_html_class()`, sanitize it as well. 2015-09-22 04:31:25 +00:00
functions.php Docs: Clarify the summary and optional `$query` parameter description for `remove_query_arg()`. 2015-09-24 19:34:24 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php Date/Time: Add unit tests for `the_date()`. 2015-09-24 03:34:24 +00:00
http-functions.php HTTP: Add some new Cookie helper functions: 2015-09-22 03:14:25 +00:00
http.php Docs: Add inline DocBlocks for the `require_once()` calls that now bring in top-level HTTP API functionality and HTTP API classes. 2015-09-03 04:36:30 +00:00
kses.php
l10n.php Docs: Link up a hook reference with an inline `@see` tag in the return description for `get_locale()`. 2015-09-24 05:51:23 +00:00
link-template.php Links: in `get_adjacent_post()`, add a `"get_{$adjacent}_post_excluded_terms"` filter. 2015-09-25 02:38:25 +00:00
load.php Send a 500 HTTP response code when the server's PHP or MySQL checks fail. 2015-09-23 21:57:26 +00:00
locale.php Docs: Add a summary, version, and `@access` tag to the property DocBlock for `WP_Locale->number_format`. 2015-09-24 13:26:24 +00:00
media-template.php After [34048], restore the `else` statement for `h` (height of video) in `wp_underscore_video_template()`. 2015-09-11 18:30:26 +00:00
media.php Media Modal: move the translation strings for `insertIntoPost` and `uploadedToThisPost` to the `get_post_type_labels()` array as `insert_into_item` and `uploaded_to_this_item`. 2015-09-24 03:22:24 +00:00
meta-functions.php Docs: Clarify the file header summary for wp-includes/meta-functions.php, introduced in [33761]. 2015-09-22 13:27:24 +00:00
meta.php Docs: Clarify the file header summary for wp-includes/meta.php, the top-level file for the core Meta API. 2015-09-22 13:30:24 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php Move new user notification emails to `add_action()` callbacks. 2015-09-16 22:19:24 +00:00
ms-deprecated.php
ms-files.php
ms-functions.php Multisite: Don't limit site titles to 50 chars. 2015-09-23 14:24:24 +00:00
ms-load.php Multisite: Implement the `get_by_path` method in `WP_Network`. 2015-09-13 23:40:24 +00:00
ms-settings.php Multisite: Implement the `get_by_path` method in `WP_Network`. 2015-09-13 23:40:24 +00:00
nav-menu-template.php Add `$depth` as a parameter in the `nav_menu_item_args` filter. 2015-09-24 17:59:24 +00:00
nav-menu.php
option.php Update the length limit in `set_transient()` docs after [34030]. 2015-09-11 15:10:27 +00:00
pluggable-deprecated.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
pluggable.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00
plugin.php Docs: Clarify the significance of the `$accepted_args` parameter value in the documentation for `add_filter()`. 2015-09-18 14:53:28 +00:00
post-formats.php
post-functions.php Convert the `$args` passed to `register_post_type()` into an array before passing them to the new `register_post_type_args` filter. 2015-09-24 19:39:25 +00:00
post-template.php Remove some unused globals and/or their docs. 2015-09-22 20:27:25 +00:00
post-thumbnail-template.php Post Thumbnails: In `get_the_post_thumbnail_url()`, return `false` instead of empty string when no URL is available. 2015-09-24 04:38:25 +00:00
post.php Docs: Clarify the file header summary for wp-includes/post.php, the top-level file for the Post API. 2015-09-22 13:13:26 +00:00
query.php Docs: Add more explicit optional parameter types and return descriptions in the DocBlocks for `is_page()`, `is_single()`, `is_singular()`. 2015-09-24 16:18:24 +00:00
registration-functions.php
registration.php
revision.php
rewrite-constants.php Docs: Clarify the file header summary for wp-includes/rewrite-constants.php, introduced in [33751]. 2015-09-04 01:52:24 +00:00
rewrite-functions.php Canonical/Rewrite: sanity check posts that are paged with `<!--nextpage-->`. Page numbers past the max number of pages are returning the last page of content and causing infinite duplicate content. 2015-09-24 14:04:24 +00:00
rewrite.php
rss-functions.php
rss.php
script-loader.php List Tables: add JS code to dynamically toggle the `disabled` attribute of the Bulk Actions dropdown and Apply button. 2015-09-24 01:07:24 +00:00
session.php
shortcodes.php Shortcodes: don't allow unclosed HTML elements in attributes 2015-09-14 22:36:24 +00:00
taxonomy-functions.php Bust term query cache when modifying term meta. 2015-09-25 13:47:25 +00:00
taxonomy.php Docs: Clarify the file header summary for wp-includes/taxonomy.php, the top-level file for the core Taxonomy API. 2015-09-22 13:23:25 +00:00
template-loader.php
template.php
theme.php Customizer: Flesh out phpdoc description for `_wp_customize_include()`. 2015-09-25 19:36:25 +00:00
update.php
user-functions.php Remove some unused globals and/or their docs. 2015-09-22 20:27:25 +00:00
user.php Docs: The User API is singular. 2015-09-22 13:03:24 +00:00
vars.php Introduce a new `$is_edge` global for the Microsoft Edge browser. 2015-09-05 22:33:23 +00:00
version.php XML-RPC: Introduce the concept of unit testing to `wp_xmlrpc_server::wp_newComment()`: 2015-09-25 20:20:23 +00:00
widget-functions.php Widgets: when passing a string arg value to `dynamic_sidebar()`, don't reset `$index` when the arg's sanitized value matches the sanitized name of a sidebar. 2015-09-24 00:30:24 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Introduce metadata for taxonomy terms. 2015-09-25 03:59:27 +00:00
wp-diff.php Pass `false` as the 2nd argument to `class_exists()` to disable autoloading and to not cause problems for those who define `__autoload()`. 2015-09-20 03:52:25 +00:00