WordPress.org

Make WordPress Core

Changeset 48648


Ignore:
Timestamp:
07/27/2020 09:04:34 PM (3 months ago)
Author:
azaozz
Message:

Media: Improve inline docs for wp_filter_content_tags().

Props johnstonphilip.
See #44427.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r48594 r48648  
    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
Note: See TracChangeset for help on using the changeset viewer.