Skip to content

Commit

Permalink
JPS: XML-RPC: When site is connected, expose jetpack.remoteProvision …
Browse files Browse the repository at this point in the history
…when user authenticated (#9296)
  • Loading branch information
ebinnion authored Apr 13, 2018
1 parent de4303a commit ce2a2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.jetpack-xmlrpc-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function xmlrpc_methods( $core_methods ) {
'jetpack.unlinkUser' => array( $this, 'unlink_user' ),
'jetpack.syncObject' => array( $this, 'sync_object' ),
'jetpack.idcUrlValidation' => array( $this, 'validate_urls_for_idc_mitigation' ),
'jetpack.remoteProvision' => array( $this, 'remote_provision' ),
) );

if ( isset( $core_methods['metaWeblog.editPost'] ) ) {
Expand Down Expand Up @@ -81,7 +82,6 @@ function bootstrap_xmlrpc_methods() {
function authorize_xmlrpc_methods() {
return array(
'jetpack.remoteAuthorize' => array( $this, 'remote_authorize' ),
'jetpack.remoteProvision' => array( $this, 'remote_provision' ),
);
}

Expand Down

0 comments on commit ce2a2f0

Please sign in to comment.