| 开发者 | egydevinfo |
|---|---|
| 更新时间 | 2026年10月7日 05:24 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[egydevinfo_siwg_button].wp-config.php instead of the database:
define( 'EGYDEVINFO_SIWG_CLIENT_ID', '...' );
define( 'EGYDEVINFO_SIWG_CLIENT_SECRET', '...' );The redirect URI in your Google OAuth client does not match your site. Reopen the setup wizard (Settings → Sign In with Google → Change credentials → Back to the OAuth client step), copy the redirect URI again, and paste it into "Authorized redirect URIs" exactly. It can take a few minutes for Google to apply the change.
Your Google app is still in "Testing" mode, where only listed test users can sign in. Open Google Auth Platform → Audience and click "Publish app".
The button is a plain link with no nonce and no JavaScript, so cached pages keep working. The sign-in endpoints themselves send no-cache headers. Please still test once on your live site after setup.
Yes. The button is added above the Checkout block for guests, and above the classic checkout form on shortcode-based checkouts.
If the address is a verified Gmail or Google Workspace address, the accounts are linked automatically and the customer is signed in. Otherwise, for safety, they are asked to log in with their password once and connect Google from their account page.
Yes. Set "Allowed email domains" to your Google Workspace domain, and set "New accounts" to "Never" if staff accounts are created manually.
Not at the moment. This plugin focuses on Google only.
DONOTCACHEPAGE constant name).remove_submenu_page() — that also broke WordPress's own page-title lookup for that page. The entry is now hidden with CSS instead, so the page stays properly registered.