WordPress/wp-includes/widgets
Weston Ruter 7ee77760af 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`.
Props welcher, westonruter.
Amends [14607].
See #12320.
Fixes #37312.

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


git-svn-id: http://core.svn.wordpress.org/trunk@41724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-18 00:34:46 +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: Update default `link_type` for Gallery widget from `none` to `post` for consistency with `wp.media.galleryDefaults`. 2017-10-12 04:21:46 +00:00
class-wp-widget-media-image.php Widgets: Default to "custom URL" in the image widget. 2017-10-03 03:00:48 +00:00
class-wp-widget-media-video.php Widgets: Update video widget embed failure notice to indicate streams other than YouTube and Vimeo are allowed. 2017-10-11 06:22:47 +00:00
class-wp-widget-media.php Widgets: In `WP_Widget_Media`, apply `widget_title` filter regardless of whether the title is empty, same as other widgets do. 2017-10-15 21:29:51 +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: Move empty title checks out of the `apply_filters( 'widget_title' )` calls for clarity. 2017-10-15 21:43:47 +00:00