Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/asad-ms/wp-basic-security-utils/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A lightweight WordPress plugin that improves basic site security using hooks and filters.
Features
- Disables XML-RPC
- Removes WordPress version from page source
- Hides login error details
- Adds basic security headers
Tech Stack
- PHP
- WordPress Hooks & Filters
What I Learned
- WordPress plugin structure
- Using actions and filters effectively
- Basic WordPress security best practices
Installation
- Clone or download this repository
- Upload the folder to
wp-content/plugins - Activate the plugin from the WordPress admin panel
Notes
This plugin is intentionally kept simple to demonstrate clean, secure, and maintainable WordPress development.