Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/settings/notices/quota-100.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ class Quota_100 extends Notice_Base {
public function content(): string {
$plan = Settings::get( Settings::PLAN_DATA )->plan->name;

if ( $plan === 'Free' ) {
return sprintf( '<h3>%s</h3><p>%s</p><p><a class="button button-primary ea11y-dismiss-button" style="background-color: #93003F; border-color: #93003F;" href="%s">%s</a></p>',
if ( 'Free' === $plan ) {
return sprintf( '<h3>%s</h3><p>%s</p><p><a class="button button-primary ea11y-dismiss-button" style="background-color: #93003F; border-color: #93003F; color: #fff;" href="%s">%s</a></p>',
__( 'You’ve reached your free plan limit', 'pojo-accessibility' ),
__( 'Upgrade to scan more pages, unlock AI fixes, and access all accessibility features.', 'pojo-accessibility' ),
SettingsModule::get_upgrade_link( 'acc-100-quota' ),
__( 'Upgrade Now', 'pojo-accessibility' ),
);
}

return sprintf( '<h3>%s</h3><p>%s</p><p><a class="button button-primary ea11y-dismiss-button" style="background-color: #93003F; border-color: #93003F;" href="%s">%s</a></p>',
return sprintf( '<h3>%s</h3><p>%s</p><p><a class="button button-primary ea11y-dismiss-button" style="background-color: #93003F; border-color: #93003F; color: #fff;" href="%s">%s</a></p>',
__( 'You’ve reached your monthly plan usage', 'pojo-accessibility' ),
__( 'Upgrade now to raise your limit and maintain complete access to all accessibility features.', 'pojo-accessibility' ),
SettingsModule::get_upgrade_link( 'acc-100-quota' ),
Expand Down
Loading