WordPress/wp-includes
John Blackbourn ecfff6fe80 Media: Correct the image thumbnail logic in media templates.
This ensures the correct data properties are checked before displaying image thumbnails.

Props chetan200891

Fixes #49655

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


git-svn-id: http://core.svn.wordpress.org/trunk@48774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-20 13:15:04 +00:00
..
assets Editor: update packages. 2020-08-27 16:36:39 +00:00
block-patterns
blocks
certificates
css Editor: update packages. 2020-08-27 16:36:39 +00:00
customize
fonts
ID3
images
IXR
js Media: Allow contextually generated images to show in Media Library grid view. 2020-09-17 14:42:04 +00:00
PHPMailer
pomo
random_compat
Requests
rest-api i18n: Ensure block type strings in the REST API end with a full stop. 2020-09-16 19:23:07 +00:00
SimplePie
sitemaps
sodium_compat
Text
theme-compat
widgets
admin-bar.php
atomlib.php
author-template.php
block-patterns.php
blocks.php
bookmark-template.php
bookmark.php
cache-compat.php
cache.php
canonical.php
capabilities.php
category-template.php Docs: Various docblock corrections and improvements. 2020-09-04 20:41:07 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php
class-wp-ajax-response.php Docs: Replace "html" and "xhtml" instances in DocBlocks and comments with "HTML" and "XHTML". 2020-06-28 14:02:06 +00:00
class-wp-block-list.php
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php
class-wp-block-styles-registry.php
class-wp-block-type-registry.php
class-wp-block-type.php REST API: Include attribute name in schema validation error message. 2020-09-10 16:34:11 +00:00
class-wp-block.php
class-wp-comment-query.php Comments: Assign the array of comment data returned from the comments_pre_query filter to the comments property of the current WP_Comment_Query instance. 2020-09-17 19:55:08 +00:00
class-wp-comment.php Docs: Various docblock corrections and improvements. 2020-09-04 20:41:07 +00:00
class-wp-customize-control.php
class-wp-customize-manager.php
class-wp-customize-nav-menus.php
class-wp-customize-panel.php
class-wp-customize-section.php Docs: Add a reference to WP_Customize_Section::__construct() for information on accepted arguments in WP_Customize_Manager::add_section(). 2020-02-27 20:29:06 +00:00
class-wp-customize-setting.php
class-wp-customize-widgets.php
class-wp-date-query.php
class-wp-dependency.php
class-wp-editor.php
class-wp-embed.php
class-wp-error.php
class-wp-fatal-error-handler.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php
class-wp-http-cookie.php
class-wp-http-curl.php
class-wp-http-encoding.php
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php
class-wp-image-editor.php
class-wp-list-util.php
class-wp-locale-switcher.php
class-wp-locale.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
class-wp-matchesmapregex.php
class-wp-meta-query.php
class-wp-metadata-lazyloader.php
class-wp-network-query.php Docs: Reformat comments_pre_query, networks_pre_query, sites_pre_query DocBlocks for better readability. 2020-09-17 11:10:03 +00:00
class-wp-network.php
class-wp-object-cache.php
class-wp-oembed-controller.php
class-wp-oembed.php
class-wp-paused-extensions-storage.php
class-wp-post-type.php
class-wp-post.php Docs: Various docblock corrections and improvements. 2020-09-04 20:41:07 +00:00
class-wp-query.php Docs: Fix typo in *_pre_query filter DocBlocks. 2020-09-17 10:45:03 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php Docs: Add a @since note for the recovery_mode_email filter about the $email argument now including the attachments key. 2020-09-18 11:03:02 +00:00
class-wp-recovery-mode-key-service.php Docs: Remove unnecessary variables names from @return tags. 2020-06-19 22:55:12 +00:00
class-wp-recovery-mode-link-service.php
class-wp-recovery-mode.php
class-wp-rewrite.php
class-wp-role.php
class-wp-roles.php
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php Docs: Reformat comments_pre_query, networks_pre_query, sites_pre_query DocBlocks for better readability. 2020-09-17 11:10:03 +00:00
class-wp-site.php
class-wp-tax-query.php
class-wp-taxonomy.php
class-wp-term-query.php Docs: Fix typo in *_pre_query filter DocBlocks. 2020-09-17 10:45:03 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php
class-wp-theme.php
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Fix typo in *_pre_query filter DocBlocks. 2020-09-17 10:45:03 +00:00
class-wp-user-request.php
class-wp-user.php
class-wp-walker.php Docs: Another pass at some inline docs fixes mostly made by PHPCBF. 2020-07-23 21:11:05 +00:00
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php
class-wp.php
class.wp-dependencies.php
class.wp-scripts.php Script Loader: Disable concatenation for scripts with translations to ensure they are printed in the right order. 2020-08-27 21:58:04 +00:00
class.wp-styles.php
comment-template.php Docs: Synchronize the description of the $format parameter in various date/time functions for posts and comments. 2020-09-01 00:43:06 +00:00
comment.php Code Modernization: Remove unnecessary reference sign from get_comment() definition. 2020-09-09 03:55:07 +00:00
compat.php
cron.php
date.php
default-constants.php Coding Standards: Explicitly declare the $wp_version global used in some core files. 2020-09-12 00:12:08 +00:00
default-filters.php Posts, Post Types: Don't output the adjacent posts rel link by default. 2020-09-09 21:34:08 +00:00
default-widgets.php
deprecated.php
embed-template.php
embed.php
error-protection.php
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed.php
formatting.php Formatting: Make sure links_add_target() adds the target attribute to the correct tag. 2020-09-17 10:14:07 +00:00
functions.php
functions.wp-scripts.php
functions.wp-styles.php Script Loader: Include the script or style handle in _wp_scripts_maybe_doing_it_wrong() message. 2020-06-17 10:16:08 +00:00
general-template.php Docs: Synchronize the description of the $format parameter in various date/time functions for posts and comments. 2020-09-01 00:43:06 +00:00
http.php
kses.php
l10n.php
link-template.php Docs: Add a @since note about adjacent_posts_rel_link_wp_head() no longer being used in core. 2020-09-18 11:06:04 +00:00
load.php Docs: Various docblock corrections and improvements. 2020-09-04 20:41:07 +00:00
locale.php
media-template.php Media: Correct the image thumbnail logic in media templates. 2020-09-20 13:15:04 +00:00
media.php Media: Correct the image thumbnail logic in media templates. 2020-09-20 13:15:04 +00:00
meta.php
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php
ms-load.php
ms-network.php
ms-settings.php
ms-site.php
nav-menu-template.php
nav-menu.php
option.php
pluggable-deprecated.php
pluggable.php
plugin.php
post-formats.php
post-template.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
post-thumbnail-template.php Post Thumbnails: Change the return value of get_post_thumbnail_id() for a non-existing post to false instead of an empty string. 2020-07-05 10:17:02 +00:00
post.php Posts, Post Types: Ensure default terms are added by wp_publish_post(). 2020-09-19 01:22:08 +00:00
query.php
registration-functions.php
registration.php
rest-api.php REST API: Extract WP_REST_Controller::get_endpoint_args_for_item_schema() to a standalone function. 2020-09-07 02:37:07 +00:00
revision.php Docs: Document the usage of $wpdb global in wp_get_post_autosave(). 2020-09-14 13:37:06 +00:00
rewrite.php Docs: Various fixes and improvements to inline documentation. 2020-07-30 19:14:03 +00:00
rss-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
rss.php
script-loader.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php
taxonomy.php Docs: Various docblock corrections and improvements. 2020-09-04 20:41:07 +00:00
template-loader.php
template.php
theme.php
update.php
user.php
vars.php
version.php Media: Correct the image thumbnail logic in media templates. 2020-09-20 13:15:04 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Code Modernization: Return an empty string from wpdb::prepare() if there are not enough arguments to match the placeholders. 2020-09-16 02:29:06 +00:00
wp-diff.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00