From 3e1083a37e0bf186a2f80c79e6a223054f221845 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 27 Jul 2020 21:04:34 +0000 Subject: [PATCH] Media: Improve inline docs for `wp_filter_content_tags()`. Props johnstonphilip. See #44427. git-svn-id: https://develop.svn.wordpress.org/trunk@48648 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 3a11006347..23f6756df6 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1705,9 +1705,10 @@ function wp_lazy_loading_enabled( $tag_name, $context ) { } /** - * Filters specific tags in post content and modifies their markup. - * - * This function adds `srcset`, `sizes`, and `loading` attributes to `img` HTML tags. + * Modifies specific HTML tags in post content to include new browser and HTML technologies + * that may not have existed at the time of post creation. These modifications currently include + * adding `srcset`, `sizes`, and `loading` attributes to `img` HTML tags. Future similar + * optimizations should be added/expected here. * * @since 5.5.0 *