A collection of lightweight WordPress plugins that we commonly use on our sites.
- Allow SVG uploads
- Disable the
/wp-json/wp/v2/usersREST API endpoint. - Adds
Robots: noindexHTTP header to all non-singular pages (except the front page). - Reject all WP Login attempts if submitted within 2.5 seconds of page load.
- Purge Bunny CDN Cache on
save_post - Set HTTP
Cache-Controlheader on all safe requests for logged-out users. - Configure
wp_mail()to use SMTP. - Automatically mark comments as spam through a collection of empirically discovered checks.
Some of these are simple no-ops if the relevant PHP constants are not set.
Download the ZIP and drop it in wp-content/plugins.
Alternatively, install through Composer:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ibericode/ibericode-mods"
}
],
"require": {
"composer/installers": "^2.2",
"ibericode/ibericode-mods": "*@dev",
},
"config": {
"allow-plugins": {
"composer/installers": true
}
},
"extra": {
"installer-paths": {
"wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
}
}
}
GPL v2 or later