Login to your site via FTP and download your active theme’s functions.php file. Edit the file and add this code to it, right at the beginning, after the first <?php.
Вот приспичило мне скрыть странички wp-admin и wp-login, но есть одна проблемка, о ней и поговорим!
login = ' UNION SELECT 1, 'admin', md5('1234'), 1 # pass = 1234.
Add so on please check variable $login_failed_error_codes in code... I have made some search.I got some class called "WP_error".But I dont know how it works with this
So if you want to send that the reset password link and you have access to the code base you can use the following snippet and you can modify it further, actually that code is slightly modified version
Support » Plugin: Theme My Login » Issue with link in reset password email.
PHP function display_errors: Disabled PHP function safe_mode: Disabled PHP function allow_url_include: Enabled PHP function
При регистрации в базу данных записываеться логин пользователя и пароль(в двойном md5 шифровании). При авторизация, сравниваеться логин и пароль, если они верны, то генерируеться случайная строка, которая хешируеться и добавляеться в БД в строку user_hash.
Теперь можете скопировать wp-config.php и создать на его основе wp-config-sample.php Только потом перед заливкой на сервер данные в sample
Недавно ��адалась вопросом о переадресации посетителей сайта на свою страницу — редирект с wp-login.php.