Make WordPress Core

Changeset 60476


Ignore:
Timestamp:
07/16/2025 01:56:27 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @since note for wp_get_attachment_image_attributes filter.

This adds a note that height and width attributes are passed to the filter as of WordPress 6.8.2.

Follow-up to [60415].

See #63166.

File:
1 edited

Legend:

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

    r60416 r60476  
    11591159         *
    11601160         * @since 2.8.0
     1161         * @since 6.8.2 The `$attr` array includes `height` and `width` attributes.
    11611162         *
    11621163         * @param string[]     $attr       Array of attribute values for the image markup, keyed by attribute name.
Note: See TracChangeset for help on using the changeset viewer.