From 401ff5d2ad125edab7870087b93927fd777e0fe0 Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Sun, 13 Apr 2025 04:12:22 +0100 Subject: [PATCH] Add README explaining branch fix integration --- README-branch-fix.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 README-branch-fix.md diff --git a/README-branch-fix.md b/README-branch-fix.md new file mode 100644 index 0000000..3e233ad --- /dev/null +++ b/README-branch-fix.md @@ -0,0 +1,29 @@ +# Branch Fix for Git Updater + +## Important Note + +The separate "GU Branch Fix" plugin is no longer needed. The functionality has been integrated directly into the main "Fix 'Plugin file does not exist' Notices" plugin. + +## Integration Details + +The main plugin now includes all the necessary Git Updater branch fixes: + +1. Branch name override (changes 'master' to 'main') +2. API URL fixes (replaces '/master/' with '/main/' in API URLs) +3. Download link fixes (replaces '/master.zip' with '/main.zip') +4. Repository metadata overrides +5. Repository type data overrides + +These fixes are implemented in the main plugin file (`wp-fix-plugin-does-not-exist-notices.php`) and are automatically loaded when the plugin is activated. + +## Usage + +Simply activate the main "Fix 'Plugin file does not exist' Notices" plugin, and the Git Updater branch fixes will be applied automatically. There is no need to activate a separate plugin. + +## Troubleshooting + +If you encounter any issues with Git Updater: + +1. Make sure you have the latest version of the "Fix 'Plugin file does not exist' Notices" plugin +2. Deactivate any separate "GU Branch Fix" plugin if it's still installed +3. Use the "Refresh Cache" button in Git Updater to force it to update plugin information