[wp-trac] [WordPress Trac] #40680: Add support for `'tag' => true` in `wp_kses_attr()`

WordPress Trac noreply at wordpress.org
Thu May 11 19:22:19 UTC 2017


#40680: Add support for `'tag' => true` in `wp_kses_attr()`
---------------------------------------------+-----------------------------
 Reporter:  ocean90                          |       Owner:  ocean90
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  Future Release
Component:  Security                         |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40637"]:
 {{{
 #!CommitTicketReference repository="" revision="40637"
 KSES: Support `'tag' => true` as a shorthand for `'tag' => array()` in
 `wp_kses_attr()`.

 `Automatic_Upgrader_Skin::feedback()` had always assumed that this is
 already the case, now it is.

 See #20017.
 Fixes #40680.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40680#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list