WordPress/wp-includes
Drew Jaynes f5b5b89e66 Fix inconsistent language in two function descriptions in wp-includes/functions.php.
Also adds correct coding standards to a code sample in `_deprecated_argument()`.

Props TobiasBg.
Fixes #26185.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-07 07:08:15 +00:00
..
ID3 ID3 1.9.7. 2013-07-13 00:37:36 +00:00
SimplePie SimplePie: Fix use of DOMElement as array. 2013-09-11 04:02:10 +00:00
Text Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372. 2013-05-25 22:10:53 +00:00
certificates WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP. 2014-02-27 02:33:14 +00:00
css Fix alignment of Advanced Options close toggle arrow in Edit Media dialog. 2014-07-04 23:38:15 +00:00
fonts Update Dashicons. 2014-04-07 17:52:16 +00:00
images Edit Image modal: 2014-03-27 22:41:14 +00:00
js TinyMCE wpView: 2014-07-07 01:21:15 +00:00
pomo Introduce a binary-safe wrapper for strlen() and use it in seems_utf8(), utf8_uri_encode(), and wp_read_image_metadata(). 2014-06-23 14:48:14 +00:00
theme-compat Eliminate use of `extract()` in `wp-includes/theme-compat/comments-popup.php`. 2014-05-13 04:40:16 +00:00
admin-bar.php Pass $post object to 'preview_post_link' filter. 2014-07-03 14:42:15 +00:00
atomlib.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
author-template.php Convert documentation of default arguments in `wp_list_authors()` to the hash-notation style. 2014-06-29 22:34:14 +00:00
bookmark-template.php In `wp_list_bookmarks()`, `$categorize` should now be `$r['categorize]`. 2014-05-19 05:11:14 +00:00
bookmark.php Replace all uses of `like_escape()` with `$wpdb->esc_like()`. 2014-06-10 00:44:15 +00:00
cache.php Classes that have `__set()` also need `__isset()` and `__unset()`. 2014-05-19 06:52:14 +00:00
canonical.php Canonical redirects should only be applied for GET requests. 2014-07-02 14:11:14 +00:00
capabilities.php These functions import `$wpdb` but do not use it. 2014-05-22 17:37:14 +00:00
category-template.php Cleanup for `switch` statements: 2014-05-30 17:58:15 +00:00
category.php Deprecate get_all_category_ids(). Suggest get_terms() as a replacement. 2014-06-05 16:25:14 +00:00
class-IXR.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:01:14 +00:00
class-feed.php Add access modifiers to methods/members in `WP_Feed_Cache`, `WP_SimplePie_File`, and `WP_Feed_Cache_Transient`. 2014-05-19 05:27:15 +00:00
class-http.php Avoid a PHP notice and warning on language selection screen. 2014-06-27 00:25:15 +00:00
class-json.php Patch Services_JSON to use the proper function name and avoid a fatal error. see #24210. 2013-07-08 16:55:34 +00:00
class-oembed.php Add phpDoc blocks for two `WP_oEmbed` methods added in [28846]. 2014-07-07 06:34:14 +00:00
class-phpass.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-phpmailer.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-pop3.php
class-simplepie.php `hackificator` complains if you call `include 'file.php'` without the parens, needs to be `include( 'file.php' )` 2014-05-18 20:52:15 +00:00
class-smtp.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-snoopy.php Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210. 2013-07-08 17:17:46 +00:00
class-wp-admin-bar.php In `wp-includes/class-wp-admin-bar.php`, `break` is unreachabled after `return`. 2014-05-06 18:29:15 +00:00
class-wp-ajax-response.php Classes that have `__set()` also need `__isset()` and `__unset()`. 2014-05-19 06:52:14 +00:00
class-wp-customize-control.php Don't escape customizer control descriptions, just as section descriptions are not escaped. These are set programmatically, not via user input. props tollmanz. fixes #27981. 2014-07-03 20:11:15 +00:00
class-wp-customize-manager.php Prevent sending a 404 status when returning the response for the customize preview, since it causes the jQuery Ajax to fail. Send 200 instead. 2014-07-03 16:10:15 +00:00
class-wp-customize-section.php Support descriptions for individual customizer controls. 2014-06-30 15:55:17 +00:00
class-wp-customize-setting.php Allow for easier adding of custom class variables when extending WP_Customize_Section or WP_Customize_Setting. 2014-06-24 22:56:14 +00:00
class-wp-customize-widgets.php Customizer: Introduce a "panel" API to organize multiple sections into a one section. 2014-06-26 20:17:15 +00:00
class-wp-editor.php Use correct variable. 2014-07-01 23:30:15 +00:00
class-wp-embed.php Improve oEmbed caching. Introduces the concept of a TTL for oEmbed caches and a filter for `oembed_ttl`. 2014-07-03 16:45:14 +00:00
class-wp-error.php Improve inline documentation for the `__construct()` and `add()` methods in `WP_Error` class. 2014-06-04 06:06:14 +00:00
class-wp-http-ixr-client.php Add access modifiers to methods/members in `WP_HTTP_IXR_Client`. 2014-05-19 05:51:15 +00:00
class-wp-image-editor-gd.php Add `->get_quality()` method to `WP_Image_Editor` class. 2014-06-28 03:50:15 +00:00
class-wp-image-editor-imagick.php Add `->get_quality()` method to `WP_Image_Editor` class. 2014-06-28 03:50:15 +00:00
class-wp-image-editor.php Add `->get_quality()` method to `WP_Image_Editor` class. 2014-06-28 03:50:15 +00:00
class-wp-theme.php Remove redundant 'Visit author homepage' title attributes for plugins and themes. 2014-06-05 04:52:16 +00:00
class-wp-walker.php Ensure that a `has_children` parameter is given to `Walker::start_el()`. 2014-06-24 17:06:14 +00:00
class-wp-xmlrpc-server.php XML-RPC: Make sure wp.newPost does not produce a fatal error when a post_date field is included in the data. 2014-06-26 17:43:14 +00:00
class-wp.php Classes that have `__set()` also need `__isset()` and `__unset()`. 2014-05-19 06:52:14 +00:00
class.wp-dependencies.php Add missing access modifiers to methods in `WP_Dependencies` and `_WP_Dependency`. 2014-05-19 06:14:14 +00:00
class.wp-scripts.php `WP_Scripts->in_default_dir()` should use the `WPINC` constant 2014-06-29 22:23:15 +00:00
class.wp-styles.php Add missing access modifiers to methods in `WP_Scripts` and `WP_Styles`. 2014-05-19 06:17:14 +00:00
comment-template.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
comment.php Avoid a PHP notice in wp_new_comment() if user ID is not passed. 2014-06-30 11:03:14 +00:00
compat.php
cron.php Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609. 2014-06-19 22:53:19 +00:00
date.php WP_Date_Query: The inclusive logic should include all times within the date range. 2014-07-01 01:18:15 +00:00
default-constants.php Force SSL admin when siteurl is explicitly configured with HTTPS. 2014-06-05 14:09:18 +00:00
default-filters.php Allow for custom authentication handlers for all requests. 2014-03-09 15:23:15 +00:00
default-widgets.php Cleanup `wp_widget_rss_form()` after [28734]. "$$input used sanitized variables which contained actual values, unlike $inputs[$input] which in that context contains data about which input fields are hidden." 2014-06-20 17:29:14 +00:00
deprecated.php `LIKE` escape sanity: 2014-06-10 00:30:15 +00:00
feed-atom-comments.php Inline documentation for hooks in wp-includes/feed-atom-comments.php. 2013-12-21 20:22:12 +00:00
feed-atom.php Inline documentation for hooks in wp-includes/feed-atom.php. 2013-09-20 22:50:10 +00:00
feed-rdf.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss2-comments.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss2.php Inline documentation for hooks in wp-includes/feed-rss2.php. 2013-09-20 22:27:09 +00:00
feed.php Force a separator in get_wp_title_rss() if it was inadvertently filtered out by the theme. 2014-06-30 10:11:15 +00:00
formatting.php Exclude a newline between delimeters from further checks in wptexturize() for better performance. 2014-07-06 08:50:18 +00:00
functions.php Fix inconsistent language in two function descriptions in wp-includes/functions.php. 2014-07-07 07:08:15 +00:00
functions.wp-scripts.php In `wp_localize_script()`, instantiate the `$wp_scripts` global instead of bailing when it is called before `wp_enqueue_scripts`. This allows `wp_enqueue_media()` to be called on the front end with no JS errors. 2014-06-26 01:38:15 +00:00
functions.wp-styles.php Inline documentation for hooks in wp-includes/functions.wp-styles.php. 2013-10-27 17:59:09 +00:00
general-template.php Use `includes_url()` in `wlwmanifest_link()`. 2014-06-29 22:27:15 +00:00
http.php Remove by-reference modifiers from arguments in `wp_remote_retrieve_*` functions. 2014-05-05 18:46:15 +00:00
kses.php Make wp_kses_no_null() remove any invalid control characters in a string. 2014-07-01 18:01:17 +00:00
l10n.php Introduce wp_dropdown_languages() and use it on general settings. 2014-07-05 06:19:16 +00:00
link-template.php Clarify the inline documentation for `plugins_url()` to reflect that it also works with mu-plugins. 2014-07-03 19:42:15 +00:00
load.php Improve inline documentation for wp-includes/load.php. 2014-06-04 04:12:17 +00:00
locale.php Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937. 2013-11-13 14:01:09 +00:00
media-template.php Media Grid: JSHint fixes. 2014-07-04 05:14:15 +00:00
media.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
meta.php Replace all uses of `like_escape()` with `$wpdb->esc_like()`. 2014-06-10 00:44:15 +00:00
ms-blogs.php In multisite, on the `updated_option` action, if the option name is one of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache for the current blog id. 2014-06-28 04:07:16 +00:00
ms-default-constants.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
ms-default-filters.php In multisite, on the `updated_option` action, if the option name is one of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache for the current blog id. 2014-06-28 04:07:16 +00:00
ms-deprecated.php Theme compat: Move <head profile> to <link>. 2014-03-25 17:22:15 +00:00
ms-files.php Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374. 2013-05-20 20:20:22 +00:00
ms-functions.php `get_blog_details()->post_count` should update on more actions than just `publish_post`. 2014-06-26 00:53:15 +00:00
ms-load.php Replace all uses of `like_escape()` with `$wpdb->esc_like()`. 2014-06-10 00:44:15 +00:00
ms-settings.php Move ms-load.php and ms-default-constants.php inclusion back to ms-settings.php to avoid breaking WP-CLI. 2014-06-30 23:50:15 +00:00
nav-menu-template.php Correct filter documentation in wp_nav_menu(). 2014-06-27 03:37:16 +00:00
nav-menu.php `return false` in `has_nav_menu()` if the `$location` does not exist in the `$_wp_registered_nav_menus` global. 2014-06-26 00:57:15 +00:00
option.php Conditionally set the the `secure` flag on the test cookie, post password cookie, settings cookies, and comment author cookies depending on whether the front end and/or admin area are served over `https`. Fixes #28427 2014-06-29 13:25:16 +00:00
pluggable-deprecated.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
pluggable.php Asterisk is an allowed character in a URI and should not be stripped out by wp_sanitize_redirect(). 2014-07-01 15:56:15 +00:00
plugin.php General phpDoc fixes in wp-includes/plugin.php. 2014-06-29 09:19:15 +00:00
post-formats.php Allow has_post_format() to be used to check for any format. 2013-11-24 13:45:10 +00:00
post-template.php Add 'status-sticky' class in get_post_class() for sticky posts in the admin. 2014-07-05 00:13:14 +00:00
post-thumbnail-template.php Revert [27166]. 2014-03-26 18:43:14 +00:00
post.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
query.php `WP_Query::parse_tax_query()` has always been documented as `protected`. Plugins should never have used it. However, it did not have a `protected` access modifier, so its visibility was `public` by default. If the access modifier had been present, accessing the method in a plugin would have produced a fatal error. The access modifier was added in [28523], along with magic methods to allow it to be accessed for BC. This one method is problematic because it expects to be passed a reference. The `WP_Query::__call()` logic does not go out of its way to fix this signature discrepancy, and so a warning is thrown: `Parameter 1 to WP_Query::parse_tax_query() expected to be a reference, value given`. 2014-07-04 01:29:14 +00:00
registration-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
registration.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
revision.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
rewrite.php `WP_Query` was only missing one access modifier. 2014-05-19 17:41:13 +00:00
rss-functions.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
rss.php Inline docs for hooks in MagPie. 2013-09-06 17:19:09 +00:00
script-loader.php Make a new file: `media-grid.js`. This will be way more useful in later commits and help reduce churn and bloat in `media-views.js`. 2014-07-04 02:18:14 +00:00
shortcodes.php Update the inline docs for `add_shortcode()` to eliminate suggestion to use `extract()`. 2014-05-15 03:28:15 +00:00
taxonomy.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
template-loader.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
template.php Replaces all uses of `TEMPLATEPATH` and `STYLESHEETPATH` in core with `get_template_directory()` and `get_stylesheet_directory()`. 2014-05-23 20:12:15 +00:00
theme.php Add is_customize_preview(), a conditional function to check if the site is being previewed in the Customizer. 2014-07-04 16:17:15 +00:00
update.php Use direct typecasting instead of intval() for better performance. 2014-06-24 16:06:14 +00:00
user.php Use the `WPINC` constant when loading `class-phpass.php` 2014-06-29 22:12:16 +00:00
vars.php Update the wp-inclues/vars.php file header to include Nginx as a recognized web server. 2014-01-10 18:15:13 +00:00
version.php TinyMCE wpView: 2014-07-07 01:21:15 +00:00
widgets.php Add `public` access modifier to methods/members of `WP_Widget` and `WP_Widget_Factory`. 2014-05-19 15:42:13 +00:00
wlwmanifest.xml The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
wp-db.php Simplify the setup-config.php UI flow and load process. 2014-07-03 19:57:14 +00:00
wp-diff.php Add access modifiers to `WP_Text_Diff_Renderer_Table` that are compatible with its parent class. Some of the inline docs suggest access that, if implemented, would produce fatal errors. 2014-05-19 15:23:14 +00:00