[wp-trac] [WordPress Trac] #43: pingback_ping() is not using the check for prior pings

WordPress Trac noreply at wordpress.org
Fri Mar 22 09:15:07 UTC 2024


#43: pingback_ping() is not using the check for prior pings
--------------------------+-----------------------
 Reporter:  unbrand       |       Owner:  michel v
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  XML-RPC       |     Version:
 Severity:  minor         |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by o44czp8oqy):

 There seems to be an issue with the implementation. The check for prior
 pings is not actually being used effectively. There is an "if (1==1)"
 condition that always evaluates to true, which means the code to insert
 the pingback will always execute, regardless of whether a pingback already
 exists.[[Image(ticket:40218:desktop.png, 0px, link=https://behren.eu//)]]
 [[Image(ticket:40218:desktop.png,

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


More information about the wp-trac mailing list