Why does WordPress cap the number of pingbacks it attempts per post?

When using the pingback feature of WordPress, why does it cap the number of attempted pingbacks?

For example, if you link to multiple other posts on your own blog, it will only do one or two pingbacks per publish operation (ie when you 'publish' (and/or it goes live, if it's scheduled), or when you edit and save a published post).

It would seem that processing all pingbacks/trackbacks would be better behavior. How can that be accomplished?

Topic pingbacks Wordpress

Category Web


The situation for Wordpress 5.1:

  1. After publishing a post, wp-includes/post.php's _publish_post_hook() schedules the do_pings action for immediate execution. This is put into the "cron" option in database.
  2. Whenever the cron job runs, do_all_pings() is executed, which sends pingbacks for all outstanding posts.
  3. pingback() extracts all links from the post text and sends a pingback to each of them.

There is no limitation to 2 links anywhere.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.