Skip to content

Commit a1a1173

Browse files
Docs: Correct description for wp_filter_content_tags() per the documentation standards.
DocBlocks should start with a brief, one sentence explanation of the purpose of the function spanning a maximum of two lines. Follow-up to [48648]. See #44427. git-svn-id: https://develop.svn.wordpress.org/trunk@48649 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3e1083a commit a1a1173

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/wp-includes/media.php

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

17071707
/**
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.
1708+
* Filters specific tags in post content and modifies their markup.
1709+
*
1710+
* Modifies HTML tags in post content to include new browser and HTML technologies
1711+
* that may not have existed at the time of post creation. These modifications currently
1712+
* include adding `srcset`, `sizes`, and `loading` attributes to `img` HTML tags.
1713+
* Future similar optimizations should be added/expected here.
17121714
*
17131715
* @since 5.5.0
17141716
*

0 commit comments

Comments
 (0)