Make WordPress Core

Changeset 2679


Ignore:
Timestamp:
06/30/2005 04:05:39 PM (19 years ago)
Author:
ryan
Message:

Fix ping status check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/xmlrpc.php

    r2678 r2679  
    12011201        logIO("O","(PB) URI='$pagelinkedto' ID='$post_ID' Found='$way'");
    12021202
    1203         $post = $wpdb->get_row("SELECT post_author FROM $wpdb->posts WHERE ID = '$post_ID'");
     1203        $post = get_post($post_ID);
    12041204
    12051205        if ( !$post ) // Post_ID not found
Note: See TracChangeset for help on using the changeset viewer.