WordPress/wp-includes/widgets
Weston Ruter cb877e10ba Widgets: Prevent showing underlying attachment excerpt as caption when empty caption value is supplied in Image widget.
Allow underlying attachment to display if `caption` is `null`.

Props miyauchi, westonruter.
See #39993.
Fixes #42350.

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


git-svn-id: http://core.svn.wordpress.org/trunk@41864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-27 05:05:51 +00:00
..
class-wp-nav-menu-widget.php Widgets: Rename "Custom Menu" widget to "Navigation Menu". 2017-10-15 22:23:47 +00:00
class-wp-widget-archives.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-calendar.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-categories.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-custom-html.php I18N: Use a consistent pattern for translator comments for placeholders in Customizer and widget strings. 2017-09-29 11:42:48 +00:00
class-wp-widget-links.php Widgets: Pass $instance to widget argument filters: 2017-10-02 22:02:47 +00:00
class-wp-widget-media-audio.php I18N: Use a consistent pattern for translator comments for placeholders in Customizer and widget strings. 2017-09-29 11:42:48 +00:00
class-wp-widget-media-gallery.php Widgets: Improve extensibility of the Gallery widget and of media widgets generally. 2017-10-19 23:44:48 +00:00
class-wp-widget-media-image.php Widgets: Prevent showing underlying attachment excerpt as caption when empty caption value is supplied in Image widget. 2017-10-27 05:05:51 +00:00
class-wp-widget-media-video.php Widgets: Harden logic for checking for valid media URLs. 2017-10-19 00:07:54 +00:00
class-wp-widget-media.php Widgets: Improve extensibility of the Gallery widget and of media widgets generally. 2017-10-19 23:44:48 +00:00
class-wp-widget-meta.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-pages.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-recent-comments.php Widgets: Pass $instance to widget argument filters: 2017-10-02 22:02:47 +00:00
class-wp-widget-recent-posts.php Widgets: Use a foreach loop instead of The Loop to iterate over posts in Recent Posts widget to avoid needing to reset a polluted global $post. 2017-10-18 00:34:46 +00:00
class-wp-widget-rss.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-search.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-tag-cloud.php Widgets: Move empty title checks out of the apply_filters( 'widget_title' ) calls for clarity. 2017-10-15 21:43:47 +00:00
class-wp-widget-text.php Widgets: Limit container-constraining logic in Text widget to video, iframe, object, and embed elements. 2017-10-24 21:32:46 +00:00