Skip to content

Commit

Permalink
Add ToC notice
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Jul 26, 2023
1 parent a3842cd commit e05b3cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/src/parts/connect/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ const ConnectLayout = () => {
>
{ optimoleDashboardApp.strings.api_exists }
</Button>

<p
className="mb-0"
dangerouslySetInnerHTML={ { __html: optimoleDashboardApp.strings.signup_terms } }
/>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions inc/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,7 @@ private function get_dashboard_strings() {
'optimole-wp'
),
'notice_disabled_account' => sprintf( __( '%3$sYour account has been disabled due to exceeding quota.%4$s All images are being redirected to the original unoptimized URL. %5$sPlease %1$supgrade%2$s to re-activate the account.', 'optimole-wp' ), '<b><a href="https://optimole.com/pricing">', '</a></b>', '<b>', '</b>', '<br>' ),
'signup_terms' => sprintf( __( 'By signing up, you agree to our %1$sTerms of Service %3$s and %2$sPrivacy Policy %3$s.', 'optimole-wp' ), '<a href="https://optimole.com/terms/" target="_blank" >', '<a href="https://optimole.com/privacy-policy/" target="_blank">', '</a>' ),
'dashboard_menu_item' => __( 'Dashboard', 'optimole-wp' ),
'settings_menu_item' => __( 'Settings', 'optimole-wp' ),
'help_menu_item' => __( 'Help', 'optimole-wp' ),
Expand Down

0 comments on commit e05b3cd

Please sign in to comment.