@@ 2397-2400 (lines=4) @@ | ||
2394 | if ( !in_array($link_test, $pung) && (url_to_postid($link_test) != $post_ID) // If we haven't pung it already and it isn't a link to itself |
|
2395 | && !is_local_attachment($link_test) ) : // Also, let's never ping local attachments. |
|
2396 | if ( $test = @parse_url($link_test) ) { |
|
2397 | if ( isset($test['query']) ) |
|
2398 | $post_links[] = $link_test; |
|
2399 | elseif ( isset( $test['path'] ) && ( $test['path'] != '/' ) && ( $test['path'] != '' ) ) |
|
2400 | $post_links[] = $link_test; |
|
2401 | } |
|
2402 | endif; |
|
2403 | endforeach; |
@@ 587-590 (lines=4) @@ | ||
584 | $test = @parse_url( $link_test ); |
|
585 | if ( false === $test ) |
|
586 | continue; |
|
587 | if ( isset( $test['query'] ) ) |
|
588 | $post_links[] = $link_test; |
|
589 | elseif ( isset($test['path']) && ( $test['path'] != '/' ) && ($test['path'] != '' ) ) |
|
590 | $post_links[] = $link_test; |
|
591 | } |
|
592 | } |
|
593 |