mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user