=== DCX RUCSS Manager === Contributors: darktwen Tags: wp-rocket, rucss, css, optimization, performance Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.0.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Professional dashboard for WP Rocket RUCSS: view statuses, requeue failed/selected URLs, and trigger SaaS cron jobs manually. == Description == This plugin is not affiliated with or endorsed by WP Rocket or WP Media. WP Rocket is a registered trademark of WP Media. DCX RUCSS Manager provides a comprehensive dashboard for managing WP Rocket's Remove Unused CSS (RUCSS) feature. This plugin is designed for site administrators who need granular control over their RUCSS optimization process. **Key Features:** * View RUCSS Status - Browse all URLs in your RUCSS queue with their current status (success, failed, pending) * Requeue Failed URLs - Automatically requeue all failed RUCSS jobs with a single click * Selective Requeuing - Choose specific URLs to requeue for both desktop and mobile * Manual SaaS Triggers - Manually trigger WP Rocket's SaaS cron jobs without waiting for scheduled tasks * Advanced Filtering - Filter URLs by status (failed, success, pending) * Search Functionality - Find specific URLs quickly * Status Dashboard - Visual statistics showing total, failed, success, and pending counts * Pagination - Handle large sites with customizable per-page display * Real-time Information - See last updated timestamps for each URL **Requirements:** * WP Rocket plugin must be installed and active * WP Rocket RUCSS feature must be enabled **Use Cases:** * Troubleshooting RUCSS failures * Re-processing URLs after fixing CSS issues * Manually triggering optimization jobs * Monitoring RUCSS queue status across your site == Installation == 1. Upload the `dcx-rucss-manager` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Navigate to 'RUCSS Manager' in the WordPress admin menu 4. Ensure WP Rocket is installed and RUCSS is enabled == Frequently Asked Questions == = Does this plugin require WP Rocket? = Yes, this plugin requires WP Rocket to be installed and active. It's designed specifically to manage WP Rocket's RUCSS feature. = Will this plugin work without the RUCSS feature enabled? = The plugin will load, but it won't find any data to display if RUCSS is not enabled in WP Rocket settings. = What does "Requeue" mean? = Requeuing clears the existing RUCSS data for a URL and adds it back to the optimization queue for both desktop and mobile versions. = What are the SaaS jobs buttons? = These buttons manually trigger WP Rocket's SaaS cron jobs: - Submit Jobs: Sends pending URLs to WP Rocket's SaaS service for processing - Retrieve Results: Retrieves completed results from the SaaS service = Can I requeue only specific URLs? = Yes! Use the checkboxes to select specific URLs, then click "Requeue Selected". = What database table does this use? = The plugin automatically detects WP Rocket's RUCSS table, typically `wp_wpr_rucss_used_css` or `wp_rucss_used_css`. == Screenshots == 1. Main dashboard showing RUCSS status for all URLs with visual statistics 2. Filter URLs by status and search for specific pages 3. Bulk actions for requeuing and SaaS management == Changelog == = 1.0.6 = Syntax fixes = 1.0.5 = More fixes = 1.0.4 = * Added Update URI: false to plugin header * Protected all constants with defined() checks * Improved .pot translation file completeness = 1.0.3 = * Compliance and naming adjustments for WordPress.org guidelines * Minor improvements to admin notice behavior = 1.0.2 = * Added protection against plugin usage when WP Rocket is not active or RUCSS is not enabled * Enhanced error messages with setup instructions * Improved AJAX endpoint security with prerequisite validation = 1.0.1 = * Fixed text domain consistency (dcx-rucss-manager throughout) * Added Device column (Desktop/Mobile) with icons * Added auto-refresh every 120 seconds * Added loading overlay for manual filter actions * Fixed status mapping (to-submit, in-progress, pending) * Improved AJAX functionality for all actions * Added translators comments for i18n * Removed debug code for production * WordPress.org compliance improvements = 1.0.0 = * Initial release * View RUCSS queue status with visual dashboard * Requeue failed URLs functionality * Requeue selected URLs functionality * Manual SaaS job triggers * Status filtering and search * Pagination support * Performance optimizations with caching * JavaScript validations and confirmations == Upgrade Notice == = 1.0.2 = Added protection checks and improved error handling when WP Rocket or RUCSS is not available. = 1.0.1 = Improved WordPress.org compliance, added device column, auto-refresh, and AJAX enhancements. = 1.0.0 = Initial release of DCX RUCSS Manager. == Developer Notes == **Actions Used:** * `rocket_saas_on_submit_jobs` - Triggers SaaS submission * `rocket_saas_pending_jobs` - Triggers SaaS result retrieval **Filters Used:** * `rocket_container` - Retrieves WP Rocket's dependency injection container **Security:** * All user inputs are properly sanitized and escaped * Nonce verification on all POST requests * Capability checks (manage_options) on all admin pages * Safe redirects used throughout * Prepared SQL statements for all database queries == Credits == Developed by darktwen for professional WordPress site management. Visit us at https://dcx.rs/en