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

WordPress Trac noreply at wordpress.org
Fri Mar 23 13:53:35 UTC 2018


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

Comment (by apokalyptik):

 I'm proposing that a patch pushed through on this ticked should keep the
 logic the same, piece for piece, and fix the php 7.2 warnings. If you
 think kses needs to function differently in some way... you should make
 another ticket and it should be addressed there... even the
 '''possibility''' of subtly breaking kses is an unacceptable risk when
 including a patch that ostensibly only silences an error.

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


More information about the wp-trac mailing list