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

WordPress Trac noreply at wordpress.org
Mon Apr 22 04:35:32 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 delveloperhubs):

 The pingback_ping() function in WordPress' xmlrpc.php contains a check to
 prevent duplicate pingbacks for the same article from the same server.
 However, this check is not effectively utilized due to an unconditional
 condition. This can be problematic when multiple calls to pingback_ping()
 are needed, such as when parsing a post body for additional URIs to ping.
 To resolve this issue, the function should be modified to include a proper
 conditional check before executing the pingback insertion code, allowing
 for more flexibility in handling duplicate pingbacks.

-- 
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