We weren't getting [...] in front of pingbacks.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-01 08:11:02 +00:00
parent bacd080989
commit 7f77b54e16

View File

@ -1210,7 +1210,7 @@ class wp_xmlrpc_server extends IXR_Server {
$title = (!strlen($matchtitle[1])) ? $pagelinkedfrom : $matchtitle[1]; $title = (!strlen($matchtitle[1])) ? $pagelinkedfrom : $matchtitle[1];
$original_context = strip_tags($context); $original_context = strip_tags($context);
$context = '[...] '; $context = '[...] ';
$context = wp_specialchars($original_context); $context .= wp_specialchars($original_context);
$context .= ' [...]'; $context .= ' [...]';
$original_pagelinkedfrom = $pagelinkedfrom; $original_pagelinkedfrom = $pagelinkedfrom;
$pagelinkedfrom = addslashes($pagelinkedfrom); $pagelinkedfrom = addslashes($pagelinkedfrom);