Created
October 16, 2019 00:53
-
-
Save jaworowicz/ebb96d0178c1991b369ed63af01ce43b to your computer and use it in GitHub Desktop.
Wyłaczenie XML-RPC. https://jaworowi.cz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @link https://jaworowi.cz | |
* @since 1.0.0 | |
* @package XML-RPC-disable | |
* | |
* @wordpress-plugin | |
* Plugin Name: XML-RPC DISABLE | |
* Plugin URI: https://jaworowi.cz | |
* Description: Wyłączenie pliku "zdalnej kontroli" XML-RPC w WordPress. | |
* Version: 1.0.0 | |
* Author: Jakub Jaworowicz | |
* Author URI: https://jaworowi.cz | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
* Text Domain: XML-RPC-disable | |
*/ | |
// Wklej od kolejnej linii lub dodaj cały plik do folderu /wp-content/mu-plugins | |
add_filter('xmlrpc_enabled', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment