diff --git a/inc/dependencies/dependency-yoast-seo.php b/inc/dependencies/dependency-yoast-seo.php index cd759c7..f76c8a9 100644 --- a/inc/dependencies/dependency-yoast-seo.php +++ b/inc/dependencies/dependency-yoast-seo.php @@ -51,14 +51,30 @@ public function register_notifications() { * @return void */ public function message_plugin_not_activated() { - $message = sprintf( - /* translators: %1$s resolves to ACF Content Analysis for Yoast SEO, %2$s resolves to Yoast SEO. */ - __( '%1$s requires %2$s to be installed and activated.', 'acf-content-analysis-for-yoast-seo' ), - 'ACF Content Analysis for Yoast SEO', - 'Yoast SEO' + echo ( + '
' + . sprintf( + /* translators: %1$s resolves to ACF Content Analysis for Yoast SEO, %2$s resolves to Yoast SEO. */ + esc_html__( + '%1$s requires %2$s to be installed and activated.', + 'acf-content-analysis-for-yoast-seo' + ), + 'ACF Content Analysis for Yoast SEO', + 'Yoast SEO' + ) + . '
' + . '%s
' + . sprintf( + /* translators: %1$s resolves to Yoast SEO, %2$s resolves to ACF Content Analysis for Yoast SEO */ + esc_html__( + 'Please upgrade the %1$s plugin to the latest version to allow the %2$s module to work.', + 'acf-content-analysis-for-yoast-seo' + ), + 'Yoast SEO', + 'ACF Content Analysis for Yoast SEO' + ) + . '
' + . '%s