[wp-trac] [WordPress Trac] #61244: The export_wp() function inserts empty <wp:comment> data when get_comment() returns a false or empty value

WordPress Trac noreply at wordpress.org
Tue Sep 17 22:06:43 UTC 2024


#61244: The export_wp() function inserts empty <wp:comment> data when get_comment()
returns a false or empty value
-------------------------------------+-----------------------------
 Reporter:  WPExplorer               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.7
Component:  Export                   |     Version:  4.4
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by lbones):

 I am working on testing this one! I am planning on recreating the issue in
 WP 4.4, and then running the patch to verify if the issue has been
 resolved. I am using the WordPress Playground, but can test through the
 CLI or whatever you may need.

 In the PlayGround, I did notice that the user is not able to enter an
 empty comment. To recreate, I wrote a comment, and then went into the
 WordPress editor and removed the text in the comment.

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


More information about the wp-trac mailing list