Skip to content

Articles / Developers

WordPress security for developers

WordPress security for developers starts in the code you write. These articles cover nonces, capabilities, escaping and other habits, with examples you can copy.

RSS Feed

Get new articles by email

One short email when a new article is out, plus the WordPress threats worth knowing about. No spam, unsubscribe any time.

Questions

WordPress security for developers: questions

What is the most common WordPress security mistake developers make?

Trusting input: missing nonce and capability checks on form and AJAX handlers, and output that is not escaped.

Does Stack Guard have hooks for developers?

Yes. Stack Guard documents its public actions, filters, wp-config.php constants and WP-CLI commands on the developer reference page.

Do these articles apply to any WordPress project?

Yes. The coding advice is general WordPress practice and works with or without Stack Guard.