WordPress/wp-includes
Boone Gorges 1470990892 Check that search value is scalar before parsing.
Prevents PHP notices when non-scalar values are passed.

Includes unit tests.

Props tivnet.
Fixes #29736.
Built from https://develop.svn.wordpress.org/trunk@29912


git-svn-id: http://core.svn.wordpress.org/trunk@29666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 03:32:20 +00:00
..
ID3 Update getID3 library to 1.9.8. 2014-09-11 19:07:17 +00:00
SimplePie SimplePie: Fix use of DOMElement as array. 2013-09-11 04:02:10 +00:00
Text
certificates WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP. 2014-02-27 02:33:14 +00:00
css Media modal: fix reordering of the thumbnails while creating or editing a gallery, props avryl, fixes #29606 for trunk. 2014-10-11 23:24:23 +00:00
fonts Dashicons: Update to the latest dashicons files. 2014-08-17 15:01:16 +00:00
images Edit Image modal: 2014-03-27 22:41:14 +00:00
js Customizer: Don't trigger a change event if two unchanged object values are equal, second pass. 2014-10-15 18:26:17 +00:00
pomo Fix some documentation typos in various core files. 2014-08-13 03:56:17 +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 Don't display Edit links for posts and terms in toolbar if they are empty. 2014-09-07 08:32:19 +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 Add indentation for the hash notation missed in [29108]. 2014-07-11 22:59:16 +00:00
bookmark.php Allow bookmarks to be ordered by `link_description` in `get_bookmarks()`. 2014-09-29 03:12:17 +00:00
cache.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
canonical.php Support nested tax query syntax in redirect_canonical(). 2014-10-15 15:43:19 +00:00
capabilities.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
category-template.php Additional @return clarifications for get_the_terms(), get_the_tag_list(), and get_the_term_list(). 2014-08-12 23:48:16 +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 Fix some documentation typos in various core files. 2014-08-13 03:56:17 +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 Add some unit tests for WP_HTTP::parse_url() to cover the <PHP 5.4.7 compatibility alterations. 2014-10-09 03:01:18 +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 `WP_oEmbed::_strip_newlines` is called as a filter callback for `oembed_dataparse`, must be public. It was marked as private for fun in [14109] and then made `private` officially in [28507]. 2014-09-12 22:54:16 +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 Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-smtp.php PHPMailer: Merge upstream commit (PR274). 2014-09-29 10:28:17 +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 Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class-wp-customize-control.php Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +00:00
class-wp-customize-manager.php Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +00:00
class-wp-customize-panel.php Customizer panels: use a single back button for all panels. 2014-08-25 23:05:15 +00:00
class-wp-customize-section.php Customizer: Increase default priority for a section to 160. 2014-08-15 19:36:16 +00:00
class-wp-customize-setting.php Correct the documentation for the customize_save_* action. 2014-08-15 19:49:15 +00:00
class-wp-customize-widgets.php Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +00:00
class-wp-editor.php Use Tahoma for RTL in general and Arial for Hebrew in editor styles. 2014-09-27 11:10:16 +00:00
class-wp-embed.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
class-wp-error.php New `remove()` method and some unit tests for the `WP_Error` class. 2014-10-08 07:12:18 +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 Fix setting default quality in WP_Image_Editor. 2014-10-04 13:12:15 +00:00
class-wp-image-editor-imagick.php Fix setting default quality in WP_Image_Editor. 2014-10-04 13:12:15 +00:00
class-wp-image-editor.php Fix setting default quality in WP_Image_Editor. 2014-10-04 13:12:15 +00:00
class-wp-theme.php Set Twenty Fifteen as the new default theme. see #29799. 2014-10-14 19:58:19 +00:00
class-wp-walker.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-wp-xmlrpc-server.php XML-RPC: Check if category support was added for pages before calling wp_get_post_categories() to avoid unnecessary query in wp.getPage. 2014-09-11 13:56:15 +00:00
class-wp.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class.wp-dependencies.php `WP_Dependencies->recurse_deps()`: tuck the recursion into `elseif` so the `foreach` doesn't break on the first item. 2014-07-20 00:34:15 +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 Comments: Don't print an empty HTML markup when `comment_reply_link()` returns no link. 2014-10-15 21:56:19 +00:00
comment.php WP_Comment_Query: comment__in, comment__not_in, post__in, post__not_in. 2014-10-02 01:41:16 +00:00
compat.php Constant time for wp_verify_nonce(). 2014-08-06 05:26:16 +00:00
cron.php Skip ALTERNATE_WP_CRON redirect when performing XML-RPC requests. 2014-09-11 14:02:15 +00:00
date.php Improve parameter sanitization in WP_Date_Query::build_query(). 2014-09-30 14:04:18 +00:00
default-constants.php Set Twenty Fifteen as the new default theme. see #29799. 2014-10-14 19:58:19 +00:00
default-filters.php Add a default filter to `title_save_pre`: `trim`, because extra whitespace. 2014-10-01 18:58:16 +00:00
default-widgets.php Change the default orderby value in wp_get_nav_menus() to 'name'. 2014-09-29 15:45:16 +00:00
deprecated.php `LIKE` escape sanity: 2014-06-10 00:30:15 +00:00
feed-atom-comments.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-atom.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rdf.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +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 Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rss2.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed.php Correct references to post-template.php in the inline docs. 2014-08-12 01:09:17 +00:00
formatting.php Fix whitespace issues in [29781]. Remove a redundant comment. 2014-10-11 02:33:18 +00:00
functions.php Allow PSDs (Photoshop documents) to be uploaded. 2014-10-03 19:52:17 +00:00
functions.wp-scripts.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
functions.wp-styles.php Translate some previously untranslated _doing_it_wrong() messages. 2014-10-05 21:06:15 +00:00
general-template.php Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:37:16 +00:00
http.php Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:37:16 +00:00
kses.php kses: Add colgroup. 2014-09-12 05:51:17 +00:00
l10n.php Language packs: Remove translations when deleting a theme or a plugin. 2014-10-08 19:05:20 +00:00
link-template.php Create correct permalinks for child posts of hierarchical post types when default permalinks are used. 2014-09-24 21:30:19 +00:00
load.php Send nocache_headers() on installation screens and when redirecting to them. 2014-08-25 17:40:16 +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 Add `size` to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. 2014-09-29 03:45:16 +00:00
media.php Update @param docs for wp_get_attachment_image(). 2014-10-05 17:52:15 +00:00
meta.php Use only LEFT JOINs when a meta_query contains a NOT EXISTS clause. 2014-10-14 02:17:18 +00:00
ms-blogs.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-default-constants.php After [29200], switch back to using `static` vars instead of adding 2 `global`s, as per Sergey. 2014-07-19 23:14:15 +00:00
ms-default-filters.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-deprecated.php Theme compat: Move <head profile> to <link>. 2014-03-25 17:22:15 +00:00
ms-files.php
ms-functions.php In the `wp_new_blog_notification()` email template, include the login url. 2014-10-02 01:28:16 +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 Change the default orderby value in wp_get_nav_menus() to 'name'. 2014-09-29 15:45:16 +00:00
nav-menu.php Clarify inline documentation for the `_is_valid_nav_menu_item()` and `wp_get_nav_menu_items()` in wp-includes/nav-menu.php. 2014-10-10 17:14:19 +00:00
option.php Fix the `wp-settings-*` cookies used in getUserSetting()/setUserSetting(). They should be set without `COOKIE_DOMAIN` to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47: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 Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:37:16 +00:00
plugin.php Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:37:16 +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 MediaElement upgrade: cleanup for generated markup for videos. 2014-08-07 05:53:15 +00:00
post-thumbnail-template.php Revert [27166]. 2014-03-26 18:43:14 +00:00
post.php In `wp_delete_attachment()`: account for orphan sizes by looping over the sizes stored in metadata, instead of relying on the current sizes stored in `$_wp_additional_image_sizes`. 2014-10-02 15:32:16 +00:00
query.php Check that search value is scalar before parsing. 2014-10-16 03:32:20 +00:00
registration-functions.php
registration.php
revision.php Remove backticks on `$post` variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
rewrite.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
rss-functions.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
rss.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
script-loader.php Customizer: Don't trigger a change event if two unchanged object values are equal, second pass. 2014-10-15 18:26:17 +00:00
session.php Add safeguards for when ext/hash is not compiled with PHP. 2014-09-20 17:28:18 +00:00
shortcodes.php The joys of `wptexturize()`: 2014-09-29 04:07:15 +00:00
taxonomy.php Avoid redundant table joins in WP_Tax_Query. 2014-10-15 16:40:18 +00:00
template-loader.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
template.php Revert [28563]. See #18298. 2014-07-09 18:07:16 +00:00
theme.php Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +00:00
update.php Add 'Details' links to installed plugins. 2014-07-18 20:49:17 +00:00
user.php Add inline documentation for `WP_User_Query` default arguments in the form of a hash notation. 2014-10-06 15:36:17 +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 Twenty Fifteen, editor-style.css: revert the font-size back to 19px and margin back to 83px, merge the two body selectors (don't seem needed), remove redundant rtl rules and fix body.rtl selector. See #29799 2014-10-16 00:27:19 +00:00
widgets.php Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +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 Translate some previously untranslated _doing_it_wrong() messages. 2014-10-05 21:06:15 +00:00
wp-diff.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00