mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
These functions import $wpdb but do not use it.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3190,8 +3190,6 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @return mixed {@link wp_new_comment()}
|
||||
*/
|
||||
public function wp_newComment($args) {
|
||||
global $wpdb;
|
||||
|
||||
$this->escape($args);
|
||||
|
||||
$blog_id = (int) $args[0];
|
||||
|
||||
Reference in New Issue
Block a user