mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Menu and plugin tweakage.
git-svn-id: https://develop.svn.wordpress.org/trunk@4049 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+3
-1
@@ -1228,10 +1228,12 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
$pagelinkedfrom = $wpdb->escape( $pagelinkedfrom );
|
||||
$original_title = $title;
|
||||
|
||||
$comment_post_ID = $post_ID;
|
||||
$comment_post_ID = (int) $post_ID;
|
||||
$comment_author = $title;
|
||||
$this->escape($comment_author);
|
||||
$comment_author_url = $pagelinkedfrom;
|
||||
$comment_content = $context;
|
||||
$this->escape($comment_content);
|
||||
$comment_type = 'pingback';
|
||||
|
||||
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_content', 'comment_type');
|
||||
|
||||
Reference in New Issue
Block a user