WordPress Developer Ukraine, Kyiv
Verify Nonces and Sanitize Input in WordPress AJAX Handlers

Verify Nonces and Sanitize Input in WordPress AJAX Handlers

Verify nonces and sanitize input in WordPress AJAX handlers AJAX requests in WordPress go to admin-ajax.php, which any visitor can call. So every handler must check where the request comes from and what it contains. A CSRF attack makes the browser of a logged-in user send a forged request to your site; a nonce, a…
Change the WordPress login URL without a plugin

Change the WordPress login URL without a plugin

Hide the WordPress login page behind a secret key, without a plugin Every bot on the internet knows /wp-login.php, and a new site gets password guessing attempts within hours. Moving or hiding the login page does not make passwords stronger, but it removes almost all of this automated noise: fewer requests, smaller logs, less load.…