WordPress/wp-includes
Boone Gorges 0baf141106 Attachment URLs should only be forced to SSL on the front end.
Detecting SSL status on the Dashboard introduces problems when writing content
that is saved to the database and then displayed on the front end, where SSL
may be optional (or impossible, due to self-signed certificates). The new
approach parallels the logic in `get_home_url()` for forcing HTTPS.

See [31614] #15928 for background.

Fixes #32112 for 4.2 branch.

Built from https://develop.svn.wordpress.org/branches/4.2@32384


git-svn-id: http://core.svn.wordpress.org/branches/4.2@32354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 16:21:29 +00:00
..
certificates
css WordPress 4.2 2015-04-23 16:26:10 +00:00
fonts Dashicons: Update to the latest files. 2014-12-09 19:34:23 +00:00
ID3 Update getID3 library to 1.9.8. 2014-09-11 19:07:17 +00:00
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 Add some of the TinyMCE 4.1.10 fixes to 4.2. 2015-05-06 05:12:29 +00:00
pomo Replace array_shift() with reset() where appropriate for performance. 2015-03-19 03:56:27 +00:00
SimplePie
Text
theme-compat Theme Compat: Make string translatable and add translator comments. Added in [31941]. 2015-04-08 18:15:28 +00:00
admin-bar.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +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 Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
bookmark-template.php
bookmark.php
cache.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
canonical.php If the URL being visited has non-breaking spaces at the end of it, they were probably inserted by an errant URL copy/paste. Instead of showing a 404 for no obvious reason, let's just trim them. 2015-03-20 01:02:28 +00:00
capabilities.php In Multisite, prevent plugins from unintentionally switching sites. 2015-04-20 07:27:27 +00:00
category-template.php Fix description alignment for the category_css_class filter docs. 2015-04-05 14:49:27 +00:00
category.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
class-feed.php
class-http.php self should be used for accessing local static members. 2015-03-09 02:22:26 +00:00
class-IXR.php
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 HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
class-phpass.php Prevent high resource usage when hashing large passwords. props mdawaffe, pento 2014-11-20 16:03:24 +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 Update pop3 class. Props aaroncampbell. fixes #17064 2011-04-21 20:40:32 +00:00
class-simplepie.php
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php Accessibility: Add landmark roles to WordPress admin areas. 2015-04-01 13:17:27 +00:00
class-wp-ajax-response.php
class-wp-customize-control.php Theme Switcher: Provide an easier way to reset back to the current active theme. 2015-04-22 16:15:27 +00:00
class-wp-customize-manager.php Theme Switcher: Provide an easier way to reset back to the current active theme. 2015-04-22 16:15:27 +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 Customizer Theme Switcher: Use text input for the search field to prevent double tap issues for Preview and Customize buttons on iOS. 2015-04-14 17:45:27 +00:00
class-wp-customize-setting.php Add missing @access tags to two DocBlocks in WP_Customize_Setting. 2015-04-05 15:17:27 +00:00
class-wp-customize-widgets.php Customizer: Better experience for widget filtering in desktop and iOS Safari. 2015-04-21 14:15:26 +00:00
class-wp-editor.php Remove some old backwards compatilibity code from TinyMCE. 2015-04-20 05:50:27 +00:00
class-wp-embed.php Revert editing of video embed parameters in the media modal, [31620] and [31626] for now. Plan on revisiting in 4.3. 2015-04-21 22:41:26 +00:00
class-wp-error.php
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 Correctly escape theme version numbers when displaying them. 2015-04-20 06:27:25 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php Remove duplicate string with a typo, merge it with an existing string. 2015-04-20 15:27:25 +00:00
class-wp.php
class.wp-dependencies.php
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 Don't add a class for comment authors who are members of the current site. 2015-04-21 23:36:25 +00:00
comment.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:30:30 +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:30:30 +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-rss2-comments.php Improve various hook and filter docs so they are correctly parsed for the code reference. 2014-12-06 21:32:24 +00:00
feed-rss2.php
feed-rss.php
feed.php Clean up wp_staticize_emoji() and friends. 2015-04-20 04:15:26 +00:00
formatting.php Emoji: 2015-05-06 01:35:26 +00:00
functions.php Revert [30640], as it was incorrectly checking some filenames. 2015-04-20 06:39:25 +00:00
functions.wp-scripts.php Revert [31030] and [31033]. Incidentally, there is no lazy-loading happening here anyway. 2015-04-14 15:13:28 +00:00
functions.wp-styles.php Add a missing return description for wp_styles(). 2015-04-05 15:56:26 +00:00
general-template.php Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
http.php
kses.php
l10n.php Avoid a PHP notice in wp_install_language_form() and wp_dropdown_languages() if the language doesn't have a ISO 639-1 code. 2015-02-13 11:23: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
locale.php
media-template.php Revert editing of video embed parameters in the media modal, [31620] and [31626] for now. Plan on revisiting in 4.3. 2015-04-21 22:41: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 Add a missing @access tag to the DocBlock for the WP_Meta_Query->$clauses property. 2015-04-05 16:11:27 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php There are some random add_action() and add_filter() calls littered around some files in wp-includes/. These should be moved to wp-includes/default-filters.php with the rest of the registered hooks. It seems like this was the best practice for awhile and then we randomly stopped. This file loads way before any of the includes, so the hooks will be registered for any request that loads WordPress, even SHORTINIT - a lot of the hooks registered won't run anyways (that's already the case). 2015-01-12 16:40:23 +00:00
ms-deprecated.php
ms-files.php
ms-functions.php Avoid an unexpected object error when syncing global terms 2015-04-07 04:14:26 +00:00
ms-load.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +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 There are some random add_action() and add_filter() calls littered around some files in wp-includes/. These should be moved to wp-includes/default-filters.php with the rest of the registered hooks. It seems like this was the best practice for awhile and then we randomly stopped. This file loads way before any of the includes, so the hooks will be registered for any request that loads WordPress, even SHORTINIT - a lot of the hooks registered won't run anyways (that's already the case). 2015-01-12 16:40:23 +00:00
nav-menu.php Nav menus: Return to calling links "Custom Links". 2015-03-12 06:15:27 +00:00
option.php Allow $autoload setting to be changed for existing options using update_option(). 2015-03-06 13:57:26 +00:00
pluggable-deprecated.php
pluggable.php The UTF-8 regex can occasionally fail on very low memory machines. Reduce the amount of memory it uses. 2015-05-06 07:06:29 +00:00
plugin.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
post-formats.php Replace array_shift() with reset() where appropriate for performance. 2015-03-19 03:56:27 +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 Attachment URLs should only be forced to SSL on the front end. 2015-05-06 16:21: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
rewrite.php When shifting WP_Rewrite::flush_rules() to a later action if it was called too early, make sure to do a hard flush if requested. 2015-04-01 19:06:29 +00:00
rss-functions.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
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
shortcodes.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
taxonomy.php Improve performance of loop detection in _get_term_children(). 2015-05-06 16:19:28 +00:00
template-loader.php
template.php
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 Ensure that 'who' param is respected when generating meta_query in WP_User_Query. 2015-04-20 15:16:27 +00:00
vars.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
version.php Upgrades: When converting to utf8mb4, we were trying to change the wrong index on wp_signups, causing the conversion to later fail. 2015-05-06 07:42:28 +00:00
widgets.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
wlwmanifest.xml
wp-db.php WPDB: When sanity checking query character sets, there's no need to check queries that don't return user data. 2015-05-06 07:14:29 +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