XML-RPC: Re-add a global $wpdb
missed in [38768].
See #37699. git-svn-id: https://develop.svn.wordpress.org/trunk@38775 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f239c71648
commit
b87156d05f
@ -6210,6 +6210,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @return string|IXR_Error
|
||||
*/
|
||||
public function pingback_ping( $args ) {
|
||||
global $wpdb;
|
||||
|
||||
/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
|
||||
do_action( 'xmlrpc_call', 'pingback.ping' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user