Skip to content

Conversation

@soderlind
Copy link
Owner

This pull request introduces a new reusable GitHub plugin updater class for WordPress, replaces the existing updater in the "Additional JavaScript" plugin, and updates the plugin version to 1.1.3. It also includes comprehensive documentation for the new updater class and updates related metadata files.

New GitHub Plugin Updater:

  • Added a reusable GitHub_Plugin_Updater class to handle WordPress plugin updates from GitHub repositories, with support for release assets and advanced configuration options (class-github-plugin-updater.php).
  • Comprehensive documentation for the new updater class, including usage examples, configuration parameters, and best practices (README-UPDATER.md).

Integration with "Additional JavaScript" Plugin:

  • Replaced the old custom updater (Additional_JavaScript_Updater) with the new generic GitHub_Plugin_Updater class in the "Additional JavaScript" plugin (additional-javascript.php).
  • Removed the obsolete class-additional-javascript-updater.php file.

Version Updates:

  • Updated the plugin version from 1.1.2 to 1.1.3 in multiple files: additional-javascript.php [1] package.json [2] and readme.txt [3].

- Replaced the existing `Additional_JavaScript_Updater` class with a more generic `GitHub_Plugin_Updater` class to enhance maintainability and reusability.
- Updated `additional-javascript.php` to include the new updater class and initialize it with configuration parameters for GitHub integration.
- Removed the old updater class file `class-additional-javascript-updater.php` to eliminate redundancy.
- Added comprehensive documentation in `README-UPDATER.md` detailing the usage and configuration of the new updater class, including examples for basic and advanced setups.
… readme.txt for release. Update stable tag to reflect the new version.
@soderlind soderlind merged commit 27baf86 into main Jun 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants