Make WordPress Core

Changeset 56608


Ignore:
Timestamp:
09/18/2023 10:55:35 AM (13 months ago)
Author:
costdev
Message:

Docs: Document aria-live and hidden in safecss_filter_attr().

In [56603], support was added for aria-live and hidden attributes in safecss_filter_attr().

This adds a @since annotation to document this change.

Follow-up to [56603].

Props mukesh27.
See #57791.

File:
1 edited

Legend:

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

    r56603 r56608  
    26322632 * @since 6.0.0 Added `dir`, `lang`, and `xml:lang` to global attributes.
    26332633 * @since 6.3.0 Added `aria-controls`, `aria-current`, and `aria-expanded` attributes.
     2634 * @since 6.4.0 Added `aria-live` and `hidden` attributes.
    26342635 *
    26352636 * @access private
Note: See TracChangeset for help on using the changeset viewer.