WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#38282 new defect (bug)

Trackbacks do not return proper XML on double entries and flood

Reported by: websupporter Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Pings/Trackbacks Keywords: has-patch
Focuses: Cc:

Description

If an comment is double or part of a comment flood, wp_new_comment() tends to wp_die().

With #36901 we can now get a proper WP_Error instead and utilize this in wp_trackback.php

Attachments (1)

38282.diff (735 bytes) - added by websupporter 3 years ago.

Download all attachments as: .zip

Change History (5)

@websupporter
3 years ago

#1 @websupporter
3 years ago

  • Keywords has-patch added

#2 @swissspidy
3 years ago

  • Keywords needs-unit-tests added

#3 @mahype
3 years ago

  • Keywords needs-unit-tests removed

#4 @mahype
3 years ago

Unit-Tests are not possible with this script.

Note: See TracTickets for help on using tickets.