Skip to content

Plugin/updater #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2025
Merged

Plugin/updater #9

merged 2 commits into from
Jun 13, 2025

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.

1 participant