You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
esc_html_e( 'Get recurring email reports with a snapshot of your site’s accessibility, including total issues, trends over time, most problematic pages, and the most severe issues to fix first.', 'accessibility-checker' );
145
-
} else {
146
-
esc_html_e( 'Get recurring email reports with a snapshot of your site’s accessibility, including total issues, trends over time, most problematic pages, and the most severe issues to fix first. Some details, like full-site coverage and issue breakdowns, are available in Pro.', 'accessibility-checker' );
<?phpesc_html_e( 'Your license has expired. This site is still connected but reports may stop until your license is renewed.', 'accessibility-checker' ); ?>
esc_html_e( 'Get recurring email reports with a snapshot of your site’s accessibility, including total issues, trends over time, most problematic pages, and the most severe issues to fix first.', 'accessibility-checker' );
170
+
} else {
171
+
esc_html_e( 'Get recurring email reports with a snapshot of your site’s accessibility, including total issues, trends over time, most problematic pages, and the most severe issues to fix first. Some details, like full-site coverage and issue breakdowns, are available in Pro.', 'accessibility-checker' );
<h3><?phpesc_html_e( 'Get a Free License Key', 'accessibility-checker' ); ?></h3>
178
-
<p>
179
-
<?php
180
-
printf(
181
-
/* translators: %s: dashboard URL. */
182
-
wp_kses_post( __( 'Got the plugin from Equalize Digital? Your key is in your <a href="%s" target="_blank" rel="noopener noreferrer">dashboard</a>.', 'accessibility-checker' ) ),
183
-
esc_url( $dashboard_url )
184
-
);
185
-
?>
186
-
</p>
187
-
<p>
188
-
<?php
189
-
printf(
190
-
/* translators: %s: signup URL. */
191
-
wp_kses_post( __( 'Installed from WordPress.org? <a href="%s" target="_blank" rel="noopener noreferrer">Create a free account</a> to get one.', 'accessibility-checker' ) ),
192
-
esc_url( $signup_url )
193
-
);
194
-
?>
195
-
</p>
196
-
<p>
197
-
<?php
198
-
printf(
199
-
/* translators: %s: signup URL. */
200
-
wp_kses_post( __( 'Not sure? Just <a href="%s" target="_blank" rel="noopener noreferrer">create a free account</a>. It only takes a minute.', 'accessibility-checker' ) ),
201
-
esc_url( $signup_url )
202
-
);
203
-
?>
204
-
</p>
205
-
</div>
201
+
<div class="edac-reports-card">
202
+
<h3><?phpesc_html_e( 'Get a Free License Key', 'accessibility-checker' ); ?></h3>
203
+
<p>
204
+
<?php
205
+
printf(
206
+
/* translators: %s: dashboard URL. */
207
+
wp_kses_post( __( 'Got the plugin from Equalize Digital? Your key is in your <a href="%s" target="_blank" rel="noopener noreferrer">dashboard</a>.', 'accessibility-checker' ) ),
208
+
esc_url( $dashboard_url )
209
+
);
210
+
?>
211
+
</p>
212
+
<p>
213
+
<?php
214
+
printf(
215
+
/* translators: %s: signup URL. */
216
+
wp_kses_post( __( 'Installed from WordPress.org? <a href="%s" target="_blank" rel="noopener noreferrer">Create a free account</a> to get one.', 'accessibility-checker' ) ),
217
+
esc_url( $signup_url )
218
+
);
219
+
?>
220
+
</p>
221
+
<p>
222
+
<?php
223
+
printf(
224
+
/* translators: %s: signup URL. */
225
+
wp_kses_post( __( 'Not sure? Just <a href="%s" target="_blank" rel="noopener noreferrer">create a free account</a>. It only takes a minute.', 'accessibility-checker' ) ),
/* translators: %s: link to my.equalizedigital.com dashboard */
204
-
esc_html__( 'If you downloaded the free plugin from Equalize Digital, you already have a free license key in your %s dashboard.', 'accessibility-checker' ),
205
-
wp_kses_post( $dashboard_link )
206
-
);
207
-
?>
208
-
</p>
209
-
<p>
210
-
<?php
211
-
printf(
212
-
/* translators: %s: link to create a free account */
213
-
esc_html__( 'If not, %s to generate a license key and connect this site.', 'accessibility-checker' ),
/* translators: %s: link to my.equalizedigital.com dashboard */
212
+
esc_html__( 'If you downloaded the free plugin from Equalize Digital, you already have a free license key in your %s dashboard.', 'accessibility-checker' ),
213
+
wp_kses_post( $dashboard_link )
214
+
);
215
+
?>
216
+
</p>
217
+
<p>
218
+
<?php
219
+
printf(
220
+
/* translators: %s: link to create a free account */
221
+
esc_html__( 'If not, %s to generate a license key and connect this site.', 'accessibility-checker' ),
wp_kses_post( __( 'Your license has expired and this site is still connected. %s to restore full access, or disconnect the site above.', 'accessibility-checker' ) ),
233
+
wp_kses_post( $renew_link )
234
+
);
235
+
?>
236
+
</p>
237
+
<?phpendif; ?>
219
238
220
239
<?phpendif; ?>
221
240
<?php
@@ -308,22 +327,29 @@ private function get_license_context(): array {
308
327
/**
309
328
* Resolve effective license context from current status values.
310
329
*
311
-
* @param bool $has_pro_plugin Whether the Pro plugin is installed.
312
-
* @param string $pro_status Current Pro license status.
313
-
* @param string $free_status Current free license status.
314
-
* @param string $site_id Current connected site ID.
return__( 'Your Pro license is no longer valid. This site is using a valid Free license, and email reports remain connected as Free email reports. Renew your Pro license to restore Pro-only features.', 'accessibility-checker' );
430
+
return__( 'Your Pro license is no longer valid. Email reports remain connected as Free email reports. Renew your Pro license to restore Pro-only features.', 'accessibility-checker' );
399
431
}
400
432
401
433
return__( 'Your Pro license is no longer valid. This site is using a valid Free license, but email reports are not currently connected. Connect this site from the Free License section to resume Free email reports.', 'accessibility-checker' );
0 commit comments