Skip to content

Commit 3e1083a

Browse files
committed
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
1 parent c230d7a commit 3e1083a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/wp-includes/media.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,9 +1705,10 @@ function wp_lazy_loading_enabled( $tag_name, $context ) {
17051705
}
17061706

17071707
/**
1708-
* Filters specific tags in post content and modifies their markup.
1709-
*
1710-
* This function adds `srcset`, `sizes`, and `loading` attributes to `img` HTML tags.
1708+
* Modifies specific HTML tags in post content to include new browser and HTML technologies
1709+
* that may not have existed at the time of post creation. These modifications currently include
1710+
* adding `srcset`, `sizes`, and `loading` attributes to `img` HTML tags. Future similar
1711+
* optimizations should be added/expected here.
17111712
*
17121713
* @since 5.5.0
17131714
*

0 commit comments

Comments
 (0)