Skip to content

Silver Assist Post Revalidate v1.2.1

Choose a tag to compare

@github-actions github-actions released this 09 Oct 20:48
· 118 commits to master since this release

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-hub v1.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-hub from v1.0.0 to v1.1.0
    • Added support for custom dashboard action buttons

Technical Details

  • AdminSettings.php (lines 118-127): Added actions parameter in register_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=upgrade on update availability

Installation

  1. Download silver-assist-post-revalidate-v1.2.1.zip
  2. Go to WordPress Admin > Plugins > Add New > Upload Plugin
  3. Choose the downloaded ZIP file and click "Install Now"
  4. Activate the plugin
  5. 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

Support