WordPress.org

Make WordPress Core

Changeset 2546


Ignore:
Timestamp:
04/19/2005 03:11:55 AM (17 years ago)
Author:
matt
Message:

Test for true.

File:
1 edited

Legend:

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

    r2545 r2546  
    469469            $client->debug = false;
    470470           
    471             if ( !$client->query('pingback.ping', array($pagelinkedfrom, $pagelinkedto) ) )
     471            if ( $client->query('pingback.ping', array($pagelinkedfrom, $pagelinkedto) ) )
     472                add_ping( $post_ID, $pagelinkedto );
     473            else
    472474                debug_fwrite($log, "Error.\n Fault code: ".$client->getErrorCode()." : ".$client->getErrorMessage()."\n");
    473             else
    474                 add_ping( $post_ID, $pagelinkedto );
    475475        }
    476476    }
Note: See TracChangeset for help on using the changeset viewer.