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
This commit is contained in:
Andrew Ozz 2020-07-27 21:04:34 +00:00
parent c230d7a07c
commit 3e1083a37e

View File

@ -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
*