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

WordPress Trac noreply at wordpress.org
Tue Mar 20 21:36:06 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:
---------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

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

 Props andrei0x309, soulseekah, SergeyBiryukov.
 Merges [42860] to the 4.9 branch.
 Fixes #43312.
 }}}

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


More information about the wp-trac mailing list