Closed juhi123 closed 3 years ago
@itowhid06 Thanks for the PR :) Can you please make a few minor changes to match with WP Core UI
Wrap the settings heading in <div class="wrap">
Change Here
to here
in this "If you do not have Project and Credentials, you can create one from Here". Also, I think it should be in p
tag only
Use <label for="client-id">Client ID</label>
for labels, refer general settings wp-admin/options-general.php
. You will notice clicking on the label, it focuses the input field
For optional field instead of mentioning in it label, add description right below the input field like in general settings
@itowhid06 Also add setting for user registration so this define( 'WP_GOOGLE_LOGIN_USER_REGISTRATION', true );
also can be managed without adding in wp-config.php
@juhi123 All changes have been implemented.
Feature description
Add the settings page to add
client id
,secret key
,whitelisted-domains
, whichever we add in wp-config.phpAcceptance criteria
Settings link should be given at plugins page
Functionality shouldn't be affected
Give link to create project and credentials https://console.developers.google.com/apis/dashboard