Skip to content

Commit

Permalink
Merge pull request #1289 from greenpeace/planet-5509
Browse files Browse the repository at this point in the history
PLANET-5509 Disable xmlrpc
  • Loading branch information
sagarsdeshmukh authored Feb 3, 2021
2 parents 07600f4 + 6cf4746 commit 5c92b05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MasterSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ function ( $post_author ) {
return $post_author;
}
);

// Disable xmlrpc.
add_filter( 'xmlrpc_enabled', '__return_false' );
}

/**
Expand Down

0 comments on commit 5c92b05

Please sign in to comment.