[wp-trac] [WordPress Trac] #55399: esc_xml() removes valid XML input ( input that is empty() )

WordPress Trac noreply at wordpress.org
Mon Apr 11 15:17:32 UTC 2022


#55399: esc_xml() removes valid XML input ( input that is empty() )
-------------------------------------------------+-------------------------
 Reporter:  rumpel2116                           |       Owner:  pbiron
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.0
Component:  Formatting                           |     Version:  5.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by pbiron):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch needs-
     testing has-unit-tests commit


Comment:

 @rumpel2116

 Thanx!  This looks good, thanx for the additional unit test.

 I'm marking this for commit.

 @swissspidy can you take a look and and commit before the 6.0 Beta 1
 release tomorrow.  Technically, since this is a bug, it can go in after
 Beta 1, but it would be better if it were committed before Beta.

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


More information about the wp-trac mailing list