Make WordPress Core

Ticket #23217: unique_pingbacks.patch

File unique_pingbacks.patch, 415 bytes (added by dllh, 12 years ago)
  • wp-includes/comment.php

     
    18481848                endif;
    18491849        endforeach;
    18501850
     1851        $post_links = array_unique( $post_links );
     1852
    18511853        do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post_ID ) );
    18521854
    18531855        foreach ( (array) $post_links as $pagelinkedto ) {