Make WordPress Core


Ignore:
Timestamp:
10/29/2010 07:06:48 AM (13 years ago)
Author:
westi
Message:

Don't pass deprecated argument to discover_pingback_server_uri!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r16065 r16068  
    17761776                if ( isset($test['query']) )
    17771777                    $post_links[] = $link_test;
    1778                 elseif ( ($test['path'] != '/') && ($test['path'] != '') )
     1778                elseif ( isset( $test['path'] ) && ( $test['path'] != '/' ) && ( $test['path'] != '' ) )
    17791779                    $post_links[] = $link_test;
    17801780            }
     
    17851785
    17861786    foreach ( (array) $post_links as $pagelinkedto ) {
    1787         $pingback_server_url = discover_pingback_server_uri($pagelinkedto, 2048);
     1787        $pingback_server_url = discover_pingback_server_uri( $pagelinkedto );
    17881788
    17891789        if ( $pingback_server_url ) {
Note: See TracChangeset for help on using the changeset viewer.