管理者ユーザ名が「admin」の場合は、別の管理者ユーザを作成した後、いかのコードを wp-config.php に追加しよう。
This file contains 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 | |
if ( isset($_POST['log']) && $_POST['log'] === 'admin' ) { | |
header("HTTP/1.1 403 Forbidden"); | |
die(); | |
} |
コメントを残す