[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 Mar 18 07:43:11 UTC 2025


#61244: The export_wp() function inserts empty <wp:comment> data when get_comment()
returns a false or empty value
-------------------------------------------------+-------------------------
 Reporter:  WPExplorer                           |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.8
Component:  Export                               |     Version:  4.4
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests has-testing-info                         |  administration
-------------------------------------------------+-------------------------
Changes (by saurabh.dhariwal):

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


Comment:

 WordPress Version 6.7
 Issue Summary

     Problem: Previously, the system allowed users to submit blank comments
 on posts and pages.
     Expected Behavior: The system should prevent users from submitting
 empty comments.

 Testing Steps & Results

     Navigate to a post/page and open the comment section. ✅
     Attempt to submit a blank comment. ✅
     Observe the system’s response. ✅

 Result: The issue could not be reproduced. The system correctly prevents
 blank comments from being submitted.

 Test Conclusion

     Status: ✅ Not Reproduced
     Remarks: The issue appears to be resolved or was not present in the
 tested environment. Further verification may be needed if reported again.

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


More information about the wp-trac mailing list