WordPress.org

Make WordPress Core

Changeset 48649


Ignore:
Timestamp:
07/27/2020 09:47:18 PM (4 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

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

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