Skip to content

Instantly share code, notes, and snippets.

@Perun
Created June 27, 2013 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Perun/5872903 to your computer and use it in GitHub Desktop.
Save Perun/5872903 to your computer and use it in GitHub Desktop.
Seit WordPress 3.5 ist die XML-RPC-Schnittstelle standardmäßig aktiviert. Wem dies Bauchschmerzen bereitet, der kann mit dem folgendne Eintrag in die functions.php des themes die Schnittstelle deaktivieren. Siehe auch: http://www.perun.net/2012/09/27/wordpress-3-5-xml-rpc-schnittstelle-standardmaessig-aktiviert/
<?php
add_filter( 'xmlrpc_enabled', '__return_false' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment