[wp-trac] [WordPress Trac] #3721: Trackback submission using
xmlrpc.php on wordpress 2.1 (using ecto)
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 30 23:25:28 GMT 2007
#3721: Trackback submission using xmlrpc.php on wordpress 2.1 (using ecto)
---------------------+------------------------------------------------------
Reporter: bafonso | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.1.1
Component: XML-RPC | Version: 2.1
Severity: normal | Keywords: trackback ecto xml-rpc xmlrpc
---------------------+------------------------------------------------------
Using ecto to submit a new post with trackbacks on wordpress 2.1, one
finds that they get inserted as "Array". Anyway, currently wordpress’
xmlrpc.php file is not working correctly if you want to publish trackbacks
from Ecto, and probably from other weblog clients. Here’s the fix! There
are two lines in xmlrpc.php at the root of your wordpress blog that have:
{{{
$to_ping = $content_struct['mt_tb_ping_urls']
}}}
Replace both of them with:
{{{
$to_ping_input = $content_struct['mt_tb_ping_urls'];
$to_ping = “” ;
if (is_array($to_ping_input)) {
foreach ($to_ping_input as $ping_url) {
$to_ping = $to_ping . $ping_url . “ ”;
}
}
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/3721>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list