Skip to content

Commit

Permalink
Merge pull request #609 from Codeinwp/fix/issue-941
Browse files Browse the repository at this point in the history
Add ToC notice
  • Loading branch information
abaicus authored Aug 2, 2023
2 parents 547c94d + 8e12555 commit e454d28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/src/dashboard/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
3 changes: 2 additions & 1 deletion inc/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ 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>' ),
'dashboard_menu_item' => __( 'Dashboard', 'optimole-wp' ),
'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' ),
'settings_exclusions_menu_item' => __( 'Exclusions', 'optimole-wp' ),
Expand Down

0 comments on commit e454d28

Please sign in to comment.