[wp-trac] [WordPress Trac] #43312: PHP 7.2 warning in wp_kses_attr()

WordPress Trac noreply at wordpress.org
Tue Mar 20 21:34:17 UTC 2018


#43312: PHP 7.2 warning in wp_kses_attr()
---------------------------------------------+-----------------------------
 Reporter:  andrei0x309                      |       Owner:  SergeyBiryukov
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9.5
Component:  Formatting                       |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42860"]:
 {{{
 #!CommitTicketReference repository="" revision="42860"
 Formatting: Avoid a PHP 7.2 warning in `wp_kses_attr()` when one of
 `$allowedtags` elements is an uncountable value.

 Props andrei0x309, soulseekah, SergeyBiryukov.
 Fixes #43312.
 }}}

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


More information about the wp-trac mailing list