WordPress/wp-includes
Scott Taylor 4be84bbdfb When `meta_type` is passed with `orderby => meta_value`, `orderby` must also use `CAST()` to avoid scenarios like: `SELECT`ing by `UNSIGNED` and then ordering by `CHAR`. Adds unit test.
Fixes #21621.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-05 16:57:08 +00:00
..
ID3 ID3 1.9.7. 2013-07-13 00:37:36 +00:00
SimplePie SimplePie: Merge 5e046a3 from upstream. props rlerdorf, see #24210. 2013-07-08 17:10:16 +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: Replacing the Fsockopen & Streams Transports with a new Streams transport which fully supports HTTPS communication. 2013-09-04 04:49:12 +00:00
css New develop.svn.wordpress.org repository based on the old core.svn repository. 2013-08-07 05:49:02 +00:00
images Copy wpspin_light to wp-includes as wpspin.gif. Use it in media views. see #22728. 2012-12-04 16:18:53 +00:00
js Remove the banner when concatenating TinyMCE so wp-tinymce.js.gz doesn't change every time the build process is run. See #25159. 2013-08-31 22:02:10 +00:00
pomo Avoid 'Only variables should be passed by reference' warning. fixes #23232. 2013-01-31 01:01:19 +00:00
theme-compat Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate. 2012-11-07 19:56:10 +00:00
admin-bar.php Network Admin toolbar menu: Add Plugins and Themes, remove Visit Network. 2013-08-26 15:22:11 +00:00
atomlib.php Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110. 2013-05-07 16:37:21 +00:00
author-template.php Switch to a transient for is_multi_author(). props markjaquith, fixes #24445. 2013-07-10 04:20:41 +00:00
bookmark-template.php In wp_list_bookmarks(), don't stomp the categorize argument. Fixes categorized display in the links widget. 2012-11-28 23:19:03 +00:00
bookmark.php Fix potential SQLi through improper use of API functions. 2013-07-29 18:16:47 +00:00
cache.php Correct inline docs for cache.php. props ocean90. fixes #23058. 2013-01-22 20:44:30 +00:00
canonical.php Support IIS 8 and above. 2013-07-08 20:27:06 +00:00
capabilities.php Don't set up $post_author_data in map_meta_cap() as we don't need it. 2013-08-30 04:01:08 +00:00
category-template.php Make in_category() an alias of has_category(). fixes #16718. 2013-08-24 22:54:10 +00:00
category.php Pinking shears 2012-11-17 15:11:29 +00:00
class-IXR.php Specify the encoding in IXR_Server::output(). Props solarissmoke, sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #4794 2012-08-15 20:12:00 +00:00
class-feed.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
class-http.php WP_HTTP: Re-enable curl, it was accidentally left out of [25224]. See #25007 See #16606 2013-09-04 04:50:08 +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 Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
class-phpass.php Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called. 2013-06-21 01:21:12 +00:00
class-phpmailer.php Update to PHPMailer 5.2.4. props bpetty. fixes #21074. 2013-02-28 18:33:13 +00:00
class-pop3.php Update pop3 class. Props aaroncampbell. fixes #17064 2011-04-21 20:40:32 +00:00
class-simplepie.php Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321 2012-11-05 14:25:25 +00:00
class-smtp.php Update to PHPMailer 5.2.4. props bpetty. fixes #21074. 2013-02-28 18:33:13 +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 Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in. 2013-06-19 08:15:04 +00:00
class-wp-ajax-response.php Specify the charset in WP_Ajax_Response::send(). Props sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #19448 2012-08-15 18:17:21 +00:00
class-wp-customize-control.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
class-wp-customize-manager.php Avoid empty header color after enabling header text via Customizer. props obenland, fixes #23761. 2013-07-12 20:41:46 +00:00
class-wp-customize-section.php Actually display customizer section descriptions in a meaningful way. props obenland, helen. fixes #24392. 2013-08-23 16:18:10 +00:00
class-wp-customize-setting.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-03 16:30:38 +00:00
class-wp-editor.php Remove the Spellchecker button from TinyMCE. 2013-07-18 22:44:40 +00:00
class-wp-embed.php Use correct escaping function. props duck_. 2013-01-22 16:37:54 +00:00
class-wp-error.php Correct inline docs for is_wp_error(). props johnbillion. fixes #24637. 2013-06-24 18:23:45 +00:00
class-wp-http-ixr-client.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-image-editor-gd.php Fix editing images with GD when using streams. 2013-07-17 21:16:44 +00:00
class-wp-image-editor-imagick.php Remove debug. 2013-07-22 17:13:41 +00:00
class-wp-image-editor.php Pinking shears 2013-08-22 15:56:08 +00:00
class-wp-theme.php Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839. 2013-07-08 13:04:07 +00:00
class-wp-walker.php Fix E_STRICT notices in walkers. props dvarga. see #24356. 2013-05-28 03:29:15 +00:00
class-wp-xmlrpc-server.php Introduce show_in_menu for register_taxonomy. 2013-08-26 22:35:10 +00:00
class-wp.php Remove double-strip on HTTP_IF_NONE_MATCH, which was done years ago (in #2597). see #21767. 2013-03-01 17:51:16 +00:00
class.wp-dependencies.php Revert [21420] and [21481]. Accepting a string caused back compat problems including the possibility of revealing previously hidden circular dependencies resulting in infinite loops. 2012-10-23 20:32:12 +00:00
class.wp-scripts.php If someone tries to localize 'jquery', which is now an alias with jquery-core and jquery-migrate dependencies, add the data to jquery-core. 2013-07-10 05:38:17 +00:00
class.wp-styles.php Prevent WP_Styles::do_item() from adding its own style tags when concatenation is disabled. props stephenharris. fixes #24813. 2013-09-01 13:15:09 +00:00
comment-template.php Make sure $args is an array before treating it as such. fixes #25151 for trunk. 2013-08-28 05:28:09 +00:00
comment.php WP_Date_Query. 2013-08-27 16:39:09 +00:00
compat.php Restore compat for json_decode and json_encode. fixes #18015 for trunk. 2011-07-06 23:33:05 +00:00
cron.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-03 16:30:38 +00:00
date.php WP_Date_Query. 2013-08-27 16:39:09 +00:00
default-constants.php Make Twenty Thirteen the default theme. 2013-02-28 19:01:07 +00:00
default-filters.php Pass the taxonomy around to relevant nav menu actions to avoid arbitrarily deleting all items with `menu-item-type` of `taxonomy`. Adds unit test for `wp_get_associated_nav_menu_items()`. 2013-08-29 16:45:10 +00:00
default-widgets.php Flush the cache in Recent Comments widget on edit_comment. props pento, fixes #24779. 2013-08-17 09:30:09 +00:00
deprecated.php Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602. 2013-06-19 07:58:28 +00:00
feed-atom-comments.php its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665. 2012-12-20 15:55:32 +00:00
feed-atom.php Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate. 2012-11-07 19:56:10 +00:00
feed-rdf.php
feed-rss.php Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517. 2012-01-29 19:56:33 +00:00
feed-rss2-comments.php Use a CDATA second for comment authors in RSS2 comment feeds so that HTML in comments doesn't kill the XML validation. 2013-08-07 13:43:43 +00:00
feed-rss2.php Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604 2012-07-09 03:33:01 +00:00
feed.php Pass the $sep function argument to the wp_title_rss and get_wp_title_rss filters. props scribu, fixes #16983. 2013-08-06 18:41:10 +00:00
formatting.php Use a better variable name in antispambot() introduced with [25055]. Props duck_ Fixes #16754 2013-08-28 01:47:09 +00:00
functions.php Be less verbose when erroring out in do_feed() for an invalid feed template. fixes #24874. 2013-08-30 23:37:11 +00:00
functions.wp-scripts.php Fix typo in phpdoc. props fanquake. fixes #23737. 2013-03-11 09:39:55 +00:00
functions.wp-styles.php Introduce wp_style_add_data() as a wrapper for $wp_styles->add_data(). 2013-07-18 19:46:38 +00:00
general-template.php Escape URLs in feed_links(). props Chouby. fixes #25212. 2013-09-02 10:11:09 +00:00
http.php Additional checks when evaluating the safety of an HTTP request, to avoid false negatives. 2013-07-31 06:44:57 +00:00
kses.php Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767 2013-03-01 16:28:40 +00:00
l10n.php Pinking shears 2013-08-22 15:56:08 +00:00
link-template.php Pinking shears 2013-08-22 15:56:08 +00:00
load.php Documentation for [24564]. see #23811. 2013-07-08 12:59:10 +00:00
locale.php Remove ultimately unnecessary visibility keyword from a WP_Locale method because this file is included when we bail for PHP 4. props ocean90. fixes #24915. for trunk. 2013-08-01 19:47:36 +00:00
media-template.php Media: Fix embedding of audio/video players when the file was just uploaded. 2013-07-23 17:29:55 +00:00
media.php Ignore case differences when checking file extension in wp_audio_shortcode() and wp_video_shortcode(). props nofearinc, bhengh. fixes #25140. 2013-08-26 19:21:10 +00:00
meta.php When `meta_type` is passed with `orderby => meta_value`, `orderby` must also use `CAST()` to avoid scenarios like: `SELECT`ing by `UNSIGNED` and then ordering by `CHAR`. Adds unit test. 2013-09-05 16:57:08 +00:00
ms-blogs.php Return esc_url_raw(), not esc_url(), from get_blogaddress_by_domain(). props tlovett1, fixes #25057. #wcpvd 2013-08-16 19:42:09 +00:00
ms-default-constants.php Multisite in a subdirectory: For subdomain installs, use a root admin cookie path, not a wp-admin specific one. 2012-12-04 00:51:02 +00:00
ms-default-filters.php Additional checks when evaluating the safety of an HTTP request, to avoid false negatives. 2013-07-31 06:44:57 +00:00
ms-deprecated.php Deprecate get_dashboard_blog(). 2013-08-06 16:07:46 +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 Update phpdoc for get_current_site(). props jeremyfelt. fixes #25040. 2013-09-04 08:26:08 +00:00
ms-load.php Remove some old debug cruft left by yours truly. fixes #24462. 2013-06-26 19:33:58 +00:00
ms-settings.php Resurrect the switched global. Some are still using it. see #21459 2012-08-22 03:34:00 +00:00
nav-menu-template.php If a nav menu has no items, wait until after the wp_nav_menu_items filter before deciding whether to print nothing. 2013-07-10 05:14:43 +00:00
nav-menu.php Use get_nav_menu_locations() in wp_delete_nav_menu(). 2013-08-31 01:39:09 +00:00
option.php User state settings: 2013-08-23 21:43:09 +00:00
pluggable-deprecated.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
pluggable.php Add phpdoc for 'wp_redirect' and 'wp_redirect_status' filters. props DrewAPicture. fixes #25215. 2013-09-04 08:31:09 +00:00
plugin.php Close an HTML tag inside the add_filter() inline doc. props johnbillion, fixes #24772. 2013-07-16 13:59:43 +00:00
post-formats.php Allow has_post_format() to accept an array of formats to check. props ericmann. fixes #17320. 2013-07-28 20:48:09 +00:00
post-template.php Remove display of 'Previously restored by' in the revisions meta box as it is busted. 2013-08-31 01:33:09 +00:00
post-thumbnail-template.php Fix the PHPDoc for the_post_thumbnail(). props georgestephanis. fixes #22885 2012-12-29 17:59:08 +00:00
post.php Set `hierarchical` to `false` when `parent` is passed to `get_pages()` and `child_of` is not. 2013-09-04 21:00:09 +00:00
query.php When `meta_type` is passed with `orderby => meta_value`, `orderby` must also use `CAST()` to avoid scenarios like: `SELECT`ing by `UNSIGNED` and then ordering by `CHAR`. Adds unit test. 2013-09-05 16:57:08 +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 Revisions changes. 2013-07-24 06:08:14 +00:00
rewrite.php Introduce a new endpoint mask for all archives, fixes #16303. 2013-07-28 19:18:19 +00:00
rss-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
rss.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
script-loader.php Ensure zxcvbn.min.js loads when we are guessing the wp-includes URL. 2013-09-04 21:16:09 +00:00
shortcodes.php Variables passed by reference do not need to be set first. 2013-04-29 14:48:31 +00:00
taxonomy.php Introduce `description__like` arg to `get_terms()`. Make `description__like` and `name__like` perform `LIKE`s with a wildcard on both sides of passed string. Previously, strings had to match the beginning of the name, so searching for `burrito` in `This is a burrito` would fail. Adds unit tests. 2013-09-04 19:41:08 +00:00
template-loader.php Clean up [22347] a bit. see #14348 2012-10-31 23:01:13 +00:00
template.php Improve punctuation in phpdoc. see #23090. 2013-03-12 09:30:13 +00:00
theme.php add_theme_support( 'html5' ) now defaults to comment-list, comment-form, and search-form. 2013-09-04 17:44:09 +00:00
update.php Core Updates: Ensure that the system supports outgoing HTTPS requests before making an update check over HTTPS. Fixes a typo in [25219]. See #22704 2013-09-03 07:12:10 +00:00
user.php Move check_password_reset_key(), reset_password(), and register_new_user() from wp-login.php to wp-includes/user.php, to make them reusable. props beaulebens for initial patch. fixes #20279. 2013-09-04 08:59:09 +00:00
vars.php Support IIS 8 and above. 2013-07-08 20:27:06 +00:00
version.php Add signup_id primary key to $wpdb->signups, and add better indexes. 2013-08-30 04:30:08 +00:00
widgets.php Remove reference to unused variable. fixes #24965. 2013-08-06 09:38:24 +00:00
wlwmanifest.xml Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
wp-db.php Reset $wpdb->insert_id on a failed INSERT or REPLACE. See [24459] [24494]. 2013-07-29 18:14:05 +00:00
wp-diff.php Go back to plain text diffs between revisions instead of attempting partial rendering. 2013-05-07 20:34:58 +00:00