Make WordPress Core


Ignore:
Timestamp:
06/19/2026 11:02:30 AM (18 hours ago)
Author:
afercia
Message:

KSES: Add command and commandfor to the list of allowed attributes for buttons.

Developed in: https://github.com/WordPress/wordpress-develop/pull/11483

Props pratiknawkar94, joedolson, westonruter, afercia.

Fixes #64576.

File:
1 edited

Legend:

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

    r62530 r62531  
    110110        'br'         => array(),
    111111        'button'     => array(
     112            'command'             => true,
     113            'commandfor'          => true,
    112114            'disabled'            => true,
    113115            'name'                => true,
Note: See TracChangeset for help on using the changeset viewer.