DEV Community

Discussion on: Why is_admin() is totally unsafe for your Wordpress development

tarialfaro profile image
Tari R. Alfaro

And this is why being vague and unclear is horrible for security. But it's also the developer's fault for not checking the docs.

lucagrandicelli profile image
Luca Grandicelli Author

You're right, that's a common mistake. Commenting code should be a priority when deploying to the public, especially when building plugins.

marksmi94270630 profile image
Mark Smith

Yes, you're right at this point. I've created this website but i just make it secure.