WordPress.org

Make WordPress Core

Ticket #44724: 44724-50-branch.diff

File 44724-50-branch.diff, 721 bytes (added by peterwilsoncc, 21 months ago)
  • src/wp-includes/kses.php

    diff --git src/wp-includes/kses.php src/wp-includes/kses.php
    index 0cf4ce14c4..fc687c6044 100644
    if ( ! CUSTOM_TAGS ) { 
    6666                        'rev' => true,
    6767                        'name' => true,
    6868                        'target' => true,
     69                        'download' => true,
    6970                ),
    7071                'abbr' => array(),
    7172                'acronym' => array(),
  • tests/phpunit/tests/kses.php

    diff --git tests/phpunit/tests/kses.php tests/phpunit/tests/kses.php
    index dea4a881a2..761ca6bf16 100644
    class Tests_Kses extends WP_UnitTestCase { 
    4646                        'rev' => 'revision',
    4747                        'name' => 'name',
    4848                        'target' => '_blank',
     49                        'download' => 'logo',
    4950                );
    5051
    5152                foreach ( $attributes as $name => $value ) {