Fixes #1541
git-svn-id: https://develop.svn.wordpress.org/trunk@2742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7eb46808e7
commit
3923ec65e5
@ -1243,6 +1243,9 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( empty($context) ) // URL pattern not found
|
||||||
|
return new IXR_Error(17, 'The source URI does not contain a link to the target URI, and so cannot be used as a source.');
|
||||||
|
|
||||||
$pagelinkedfrom = preg_replace('#&([^amp\;])#is', '&$1', $pagelinkedfrom);
|
$pagelinkedfrom = preg_replace('#&([^amp\;])#is', '&$1', $pagelinkedfrom);
|
||||||
|
|
||||||
$context = '[...] ' . wp_specialchars( $excerpt ) . ' [...]';
|
$context = '[...] ' . wp_specialchars( $excerpt ) . ' [...]';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user