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

WordPress Trac noreply at wordpress.org
Sun Mar 18 15:59:07 UTC 2018


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

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests reporter-
     feedback
 * version:  4.9.4 =>


Comment:

 @andrei0x309 Is it correct that the value which had triggered the warning
 was `false`? If so, doesn't that mean that the element is actually
 '''not''' allowed? While [attachment:43312.patch] makes sense, `false`
 isn't really a supported value.

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


More information about the wp-trac mailing list