Prepare release v1.6.3 with fixed Git Updater repository URLs
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled

This commit is contained in:
2025-04-12 00:47:23 +01:00
parent 9c557bc46d
commit e7e831d8b5
4 changed files with 27 additions and 10 deletions

View File

@ -136,8 +136,10 @@ class Updater {
// Set the update server based on the installation source
add_filter('gul_update_server', function() {
if ($this->source === 'github' || $this->source === 'gitea') {
return 'https://git-updater.wpallstars.com'; // Update server for both GitHub and Gitea
if ($this->source === 'github') {
return 'https://github.com/wpallstars/fix-plugin-does-not-exist-notices'; // GitHub repository URL
} elseif ($this->source === 'gitea') {
return 'https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices'; // Gitea repository URL
}
return '';
});