summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wp-includes/media.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
index 23f6756df6..801e918f3f 100644
--- a/src/wp-includes/media.php
+++ b/src/wp-includes/media.php
@@ -1705,10 +1705,12 @@ function wp_lazy_loading_enabled( $tag_name, $context ) {
}
/**
- * 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.
+ * Filters specific tags in post content and modifies their markup.
+ *
+ * Modifies 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
*