whoops, a dot that was removed yesterday came back when restoring the file

git-svn-id: http://svn.automattic.com/wordpress/trunk@1692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-09-18 17:03:08 +00:00
parent dcb4808bfc
commit 4fe649501d
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# fix for mozBlog and other cases where '<?xml' isn't on the very first line # fix for mozBlog and other cases where '<?xml' isn't on the very first line
$HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA); $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
include('../wp-config.php'); include('./wp-config.php');
include_once(ABSPATH . WPINC . '/class-IXR.php'); include_once(ABSPATH . WPINC . '/class-IXR.php');
include_once(ABSPATH . WPINC . '/functions-post.php'); include_once(ABSPATH . WPINC . '/functions-post.php');
@ -1220,7 +1220,7 @@ class wp_xmlrpc_server extends IXR_Server {
} }
// Check if pings are on, inelegant exit // Check if pings are on
$pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $post_ID"); $pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $post_ID");
if ('closed' == $pingstatus) { if ('closed' == $pingstatus) {
return new IXR_Error(33, 'The specified target URI cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'); return new IXR_Error(33, 'The specified target URI cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.');