Skip to content

Instantly share code, notes, and snippets.

@wokamoto

wokamoto/gist:5559781

Last active Dec 17, 2015
Embed
What would you like to do?
[WordPress] ユーザー名「admin」を拒否する。wp-config.php に書いておいてね
<?php
if ( isset($_POST['log']) && $_POST['log'] === 'admin' ) {
header("HTTP/1.1 403 Forbidden");
die();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.