WordPress/wp-includes
Boone Gorges 54a6a8e137 Don't allow whitespace-only image captions from the Media modal.
Captions containing only whitespace trick `image_add_caption()` into thinking
a caption is required, but the empty caption text confuses wpeditimage into
stripping the 'align' class specified by the user.

Fixes #21848.
Built from https://develop.svn.wordpress.org/trunk@32079


git-svn-id: http://core.svn.wordpress.org/trunk@32058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:11:27 +00:00
..
ID3
SimplePie
Text
certificates
css Toolbar: Search item consistency for focus state and IE8. 2015-04-08 16:08:28 +00:00
fonts
images `grunt imagemin`for [31745]. 2015-03-12 22:01:26 +00:00
js Merge strings that describe the same command. 2015-04-08 16:59:26 +00:00
pomo Replace `array_shift()` with `reset()` where appropriate for performance. 2015-03-19 03:56:27 +00:00
theme-compat Decouple strings where the singular and plural form are not just the same string with different numbers, but essentially two different strings. 2015-03-31 18:45:28 +00:00
admin-bar.php Check for an active blog before generating the `my-sites.php` URL. 2015-04-02 05:27:30 +00:00
atomlib.php
author-template.php When passing `$full` to `get_posts_by_author_sql()`, make sure a 'post_type' clause is included in results. 2015-03-07 01:15:28 +00:00
bookmark-template.php
bookmark.php
cache.php Declare `multisite` as a field for `WP_Object_Cache`. 2015-03-09 02:18:27 +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 Introduce delete_site meta capability. 2015-03-08 02:10:30 +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
class-IXR.php
class-feed.php In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
class-http.php `self` should be used for accessing local static members. 2015-03-09 02:22:26 +00:00
class-json.php
class-oembed.php RIP3 Revision3 2015-03-11 02:07:25 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
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 Add documentation for the `$type` and `$theme` properties in `WP_Customize_Theme_Control`. 2015-04-05 14:53:25 +00:00
class-wp-customize-manager.php Customizer: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10: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 Document the `$theme` property in `WP_Customize_Themes_Section`. 2015-04-05 15:10:26 +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: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10:27 +00:00
class-wp-editor.php wpLink: always show the URL field at the top. 2015-04-04 21:18:28 +00:00
class-wp-embed.php Allow inline editing of `width` and `height` parameters while previewing an embed in the media modal: 2015-03-05 06:00:26 +00:00
class-wp-error.php In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
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 In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php Correctly set the post author in `wp_xmlrpc_server::mw_editPost()` when the current user is not the author of the post. 2015-04-02 15:49:30 +00:00
class-wp.php [31210] broke Supportflow on dotorg, which declares these methods as `protected`. Switch to `protected` for the noop methods. The subclasses can make them more visible using `public`. 2015-01-16 18:37:24 +00:00
class.wp-dependencies.php
class.wp-scripts.php Add support for IE conditional comments for WP_Scripts to match the functionality of WP_Styles, including unit tests. Props filosofo, aaroncampbell, ethitter, georgestephanis, valendesigns. Fixes #16024. 2015-01-17 01:37:22 +00:00
class.wp-styles.php
comment-template.php Remove backtick-escaping around a core function in the hook docs for the `comment_form_submit_field` filter. 2015-04-05 15:39:29 +00:00
comment.php Remove an unnecessary inline `@see` tag and document the `$wpdb` global in two `WP_Comment_Query` methods. 2015-04-05 15:47:27 +00:00
compat.php In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
cron.php
date.php Empty `return` statements are unnecessary at the end of functions. 2015-03-08 23:09:27 +00:00
default-constants.php
default-filters.php Emoji: Revert [31877], and print the emoji shim and styles during `admin_print_scripts` and `admin_print_styles`, instead. This is a few milliseconds slower, but easier to reuse in Press This, and any other code that uses admin scripts and styles, without using `admin-header.php`. 2015-03-25 01:43:28 +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 Empty `return` statements are unnecessary at the end of functions. 2015-03-08 23:09:27 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php
feed.php Emoji: Rename the email and feed filter functions to be `_` prefixed, and `@ignore`-d in the PHPDocs. 2015-03-16 10:46:26 +00:00
formatting.php Various docs syntax fixes in wp-includes/formatting.php. 2015-04-05 15:51:27 +00:00
functions.php Avoid the use of `array_replace()` in `add_query_arg()`. 2015-04-01 19:40:26 +00:00
functions.wp-scripts.php Add a variety of missing descriptions and fix syntax for `wp_scripts()`, `_wp_scripts_maybe_doing_it_wrong()`, and `wp_script_add_data()`. 2015-04-05 15:55:25 +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 Add `<s>` to `$allowedtags` in KSES. 2015-01-16 16:07:23 +00:00
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 Various inline documentation syntax fixes in wp-includes/link-template.php. 2015-04-05 16:04:28 +00:00
load.php Add useremail and userslugs as global cache groups. fixes #31243. 2015-02-06 03:24:23 +00:00
locale.php
media-template.php Insert from URL: Make sure the link text is actually used. 2015-04-06 18:25:27 +00:00
media.php Remove unneeded spaces in the hook doc for the `attachment_url_to_postid` filter. 2015-04-05 16:07: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 Remove leading space from the definition of a global cache group. 2015-02-06 03:26:22 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php [31210] broke Supportflow on dotorg, which declares these methods as `protected`. Switch to `protected` for the noop methods. The subclasses can make them more visible using `public`. 2015-01-16 18:37:24 +00:00
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 Remove `<code>` tags from translatable strings. 2015-03-26 15:17:28 +00:00
ms-settings.php
nav-menu-template.php
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 Improve handling of incomplete From and Content-Type headers in `wp_mail()`. 2015-04-07 20:10:26 +00:00
plugin.php Fix a typo in the description for the `_wp_filter_build_unique_id()` DocBlock. 2015-03-22 22:56:27 +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 Variously inline documentation syntactical fixes in wp-includes/post-template.php. 2015-04-05 16:50:29 +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 Replace `array_shift()` with `reset()` where appropriate for performance. 2015-03-19 03:56:27 +00:00
query.php Replace `array_shift()` with `reset()` where appropriate for performance. 2015-03-19 03:56:27 +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
rss.php
script-loader.php Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling. 2015-04-03 02:32:28 +00:00
session.php Fix some internal types that are passed to functions to avoid changing the acceptable types passed as arguments to those functions: 2015-01-16 22:51:21 +00:00
shortcodes.php Remove a stray period introduced in [31242]. 2015-01-19 08:47:24 +00:00
taxonomy.php Fix a variety of inline documentation syntactical issues in wp-includes/taxonomy.php. 2015-04-05 17:08:26 +00:00
template-loader.php
template.php In PHP 5.0.0, `is_a()` became deprecated in favour of the `instanceof` operator. Calling `is_a()` would result in an `E_STRICT` warning. 2015-01-16 01:06:24 +00:00
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 Correct grammar when referring to "a user" vs "an user" in several places. 2015-04-05 14:44:27 +00:00
vars.php
version.php Don't allow whitespace-only image captions from the Media modal. 2015-04-08 17:11:27 +00:00
widgets.php Improve newly added strings for i18n: 2015-03-26 20:56:26 +00:00
wlwmanifest.xml
wp-db.php Remove unnecessary inline `@see` tags from a variety of parameter and return descriptions in wp-includes/wp-db.php. 2015-04-05 17:17:27 +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