Fifty Shades of Admin
Turn your boring admin into a colorful masterpiece! Pick a color, we'll do the math. Warning: Side effects may include actually enjoying WordPress admin work.
by Iconick · github.com/regionallyfamous/fiftyshadesofadmin · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/regionallyfamous/fiftyshadesofadmin/archive/refs/heads/main.zipDescription
Turn your boring WordPress admin into a colorful masterpiece! Pick a color, we'll do the math. Warning: Side effects may include actually enjoying WordPress admin work.
Features
- 🎨 Custom Color Schemes: Choose any color and automatically generate a complete admin theme
- 🔒 Security First: Built with WordPress security best practices
- 🌍 Internationalization Ready: Fully translatable with proper text domain
- ⚡ Performance Optimized: Lightweight and efficient
- 🛡️ Error Handling: Comprehensive error handling and logging
- 🔧 Clean Code: Follows WordPress coding standards
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
Installation
- Upload the plugin files to
/wp-content/plugins/fifty-shades-of-admin/ - Activate the plugin through the 'Plugins' screen in WordPress
- Go to your profile page to customize your admin colors
Usage
- Navigate to Users → Your Profile (or Users → All Users → Edit for other users)
- Select "Fifty Shades" from the Admin Color Scheme options
- Choose your desired color using the color picker
- Click "Apply Color" to see your new admin theme
Security Features
This plugin has been thoroughly audited and includes:
- ✅ SQL Injection Protection: Uses WordPress database abstraction layer
- ✅ CSRF Protection: Proper nonce verification on all forms and AJAX requests
- ✅ XSS Prevention: All output is properly escaped
- ✅ Authorization Checks: Proper capability checks before any user modifications
- ✅ Data Sanitization: All input data is sanitized and validated
- ✅ Error Handling: Comprehensive error handling with logging
Code Quality
- WordPress Standards: Follows WordPress coding standards
- Internationalization: All strings are translatable
- Plugin Lifecycle: Proper activation/deactivation/uninstall hooks
- Performance: Optimized queries and conditional asset loading
- Clean Architecture: Well-organized, maintainable code
Translation
The plugin is fully internationalized and ready for translation. Translation files are located in the /languages/ directory.
To create a translation:
- Copy
languages/fifty-shades-of-admin.potto your language code (e.g.,fifty-shades-of-admin-es_ES.po) - Translate the strings in the .po file
- Compile to .mo file using tools like Poedit or WP-CLI
Changelog
1.0.1
- 🔒 Security: Comprehensive security audit and improvements
- 🌍 Internationalization: Added full translation support
- 🧹 Code Quality: Removed duplicate code and improved error handling
- 🔧 Plugin Lifecycle: Added proper activation/deactivation/uninstall hooks
- 📝 Documentation: Added comprehensive documentation
1.0.0
- 🎨 Initial release with custom color scheme functionality
Support
For support, feature requests, or bug reports, please visit Iconick.
License
This plugin is licensed under the GPL v2 or later.
Made with ❤️ by Iconick