A modern, high-performance WordPress dashboard widget that displays recently added plugins from WordPress.org.
Recent Plugins Dashboard is designed to keep administrators updated with the latest community contributions without leaving their dashboard. Unlike standard widgets, it prioritizes performance and security, adhering strictly to the WordPress Plugin Handbook standards.
- ⚡ Zero-Blocking Performance: Uses AJAX to fetch data asynchronously. The dashboard loads instantly with a "Skeleton Screen" loading state, ensuring the widget never slows down your admin panel.
- 🎨 Modern Grid Layout: Responsive CSS Grid design that looks great on desktop and mobile.
- 🛡️ Personalized Experience: All settings (display count, days range, sort order) are stored in
user_meta. Each administrator has their own independent configuration. - 🔃 Drag-and-Drop Sorting: Organize plugin cards exactly how you want them using a smooth jQuery UI interface.
- 🌍 Localization Ready: Fully localized (i18n) with Traditional Chinese (zh_TW) support included.
This project serves as a reference implementation for modern WordPress plugin development standards:
- Architecture: Implements the Singleton Pattern to ensure a single instance and prevent global namespace pollution.
- Security First:
- Strict Nonce Verification (
check_ajax_referer) on all AJAX endpoints. - rigorous Capability Checks (
current_user_can('manage_options')). - Comprehensive Input Sanitization & Output Escaping (Late Escaping).
- Strict Nonce Verification (
- Data Isolation: Avoids polluting the global
wp_optionstable for user-specific preferences. - Compliance: Designed to pass the Plugin Check (PCP) validation tool requirements.
- Clone this repository into your
wp-content/plugins/directory:git clone https://github.com/yourusername/recent-plugins-dashboard.git
- Activate the plugin via the Plugins menu in WordPress.
- Go to Dashboard > Home to see the new widget.
- (Optional) Configure settings under Settings > Recent Plugins.
Contributions are welcome! Please ensure your code adheres to WordPress Coding Standards.
This project is licensed under the GPL-2.0+ License.