Closed ilgiocointavolo closed 3 years ago
I have submitted pull request #212 to fix this issue however in the mean time it is possible to use the WP plugin editor to modify line 141 of lib/client/base.php
FROM: $sync_branch = apply_filters( 'wpghs_sync_branch', 'master' );
TO: $sync_branch = apply_filters( 'wpghs_sync_branch', 'main' );
The change only applies to new repos, existing ones remain unchanged. There is no need for the PR unless you want to copy the branch to main and delete master.
The code snippet you posted also includes a WordPress filter you can use to change the branch, so you can fix this in your own site.
https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/
All new source code repositories created on GitHub has been named "main" instead of "master" as part of the company's effort to remove unnecessary references to slavery and replace them with more inclusive terms.