-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate Custom Footer Text on the Authorize Application Screen #8510
Comments
IB ✅ |
Enhance/#8510 - Custom Footer Text on the Authorize Application Screen
QA Update ❌This is tested good overall.
|
Hi @kelvinballoo. Regarding your observations:
Yes, that's to maintain the default footer structure. If you see the default one, it has only 10px padding. However, with the slightly larger custom footer, it is better to increase it slightly. Hence, I set it to 20px, which is fine.
That's the default functionality. We only display the custom footer only when the default one is shown. Please check the default one for clarity. |
Noted on that @hussain-t . All good. |
Feature Description
Custom footer text should be implemented for the enhanced Authorize Application screen. The custom footer should include a "Powered by Site Kit" message and be styled according to the Figma design.
Refer to the Adding Custom Footer Text section in the design doc.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
success_url
Domain:success_url
query parameter includes the.google.com
domain.admin_footer
action hook, ensuring it is added just below the default WordPress footer text.Implementation Brief
In
includes/Core/Admin/Authorize_Application.php
:render_footer_text
Method:authorize_application
using theis_authorize_application_screen
method.success_url
query parameter contains a.google.com
domain using theis_google_service
method.<div>
with a<p>
tag styled via custom selectors.Authorize_ApplicationTest::register
method.render_footer_text
method to theadmin_footer
action.In
assets/sass/authorize-application/_googlesitekit-authorize-application.scss
:Test Coverage
In
tests/phpunit/integration/Core/Admin/Authorize_ApplicationTest.php
:success_url
query parameter includes the.google.com
domain.success_url
query parameter does not include the.google.com
domain.QA Brief
example.com
with your actual site domain:success_url
Domain: Change thesuccess_url
to a non-Google domain and access the same URL:success_url
pointing to a Google domain:Changelog entry
The text was updated successfully, but these errors were encountered: