Silver Assist Post Revalidate v1.2.1
What's New in v1.2.1
Added
- Check Updates Button: Manual update checking with one-click convenience
- Added "Check Updates" button on Settings Hub dashboard card
- Integration with
silverassist/wp-settings-hubv1.1.0 custom actions feature - AJAX-powered update check with immediate visual feedback
- Automatic redirect to updates page when new version available
- New method:
AdminSettings::render_check_updates_script()for AJAX handling
Changed
- Updated Dependencies:
- Upgraded
silverassist/wp-settings-hubfrom v1.0.0 to v1.1.0 - Added support for custom dashboard action buttons
- Upgraded
Technical Details
- AdminSettings.php (lines 118-127): Added
actionsparameter inregister_plugin()with "Check Updates" button configuration - AdminSettings.php (lines 211-272): New
render_check_updates_script()method with complete AJAX handling- Uses wp-github-updater's
manualVersionCheck()endpoint - Security: nonce verification with
silver_assist_revalidate_version_check - User feedback: Button state changes (Checking... → Update Available! / Up to Date / Error)
- Error handling: Network errors and API failures with 3-second auto-reset
- Redirect: Automatic navigation to
plugins.php?plugin_status=upgradeon update availability
- Uses wp-github-updater's
Installation
- Download
silver-assist-post-revalidate-v1.2.1.zip - Go to WordPress Admin > Plugins > Add New > Upload Plugin
- Choose the downloaded ZIP file and click "Install Now"
- Activate the plugin
- Configure your revalidation endpoint at Settings > Post Revalidate
Automatic Updates
This plugin includes automatic update functionality. You'll receive notifications in your WordPress admin when new versions are available.
Requirements
- WordPress 6.5 or higher
- PHP 8.3 or higher