Make WordPress Core

Changeset 60780


Ignore:
Timestamp:
09/18/2025 02:57:09 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct formatting for wp_img_tag_add_decoding_attr filter DocBlock.

Follow-up to [56690].

Props mukesh27.
See #63166.

File:
1 edited

Legend:

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

    r60730 r60780  
    21512151                 * @since 6.1.0
    21522152                 *
    2153                  * @param string|false|null $value      The `decoding` attribute value. Returning a falsey value
    2154                  *                                      will result in the attribute being omitted for the image.
    2155                  *                                      Otherwise, it may be: 'async', 'sync', or 'auto'. Defaults to false.
    2156                  * @param string            $image      The HTML `img` tag to be filtered.
    2157                  * @param string            $context    Additional context about how the function was called
    2158                  *                                      or where the img tag is.
     2153                 * @param string|false|null $value   The `decoding` attribute value. Returning a falsey value
     2154                 *                                   will result in the attribute being omitted for the image.
     2155                 *                                   Otherwise, it may be: 'async', 'sync', or 'auto'. Defaults to false.
     2156                 * @param string            $image   The HTML `img` tag to be filtered.
     2157                 * @param string            $context Additional context about how the function was called
     2158                 *                                   or where the img tag is.
    21592159                 */
    21602160                $filtered_decoding_attr = apply_filters(
Note: See TracChangeset for help on using the changeset viewer.