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:
parent
dcb4808bfc
commit
4fe649501d
|
@ -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.');
|
||||||
|
|
Loading…
Reference in New Issue