admin_header( false, 'wpseo-gsc', false, 'yoast_wpseo_gsc_options' );
// GSC Error notification.
$gsc_url = 'https://search.google.com/search-console/index';
$gsc_post_url = 'https://yoa.st/google-search-console-deprecated';
$gsc_style_alert = '
display: flex;
align-items: baseline;
position: relative;
padding: 16px;
border: 1px solid rgba(0, 0, 0, 0.2);
font-size: 14px;
font-weight: 400;
line-height: 1.5;
margin: 16px 0;
color: #450c11;
background: #f8d7da;
';
$gsc_style_alert_icon = 'display: block; margin-right: 8px;';
$gsc_style_alert_content = 'max-width: 600px;';
$gsc_style_alert_link = 'color: #004973;';
$gsc_notification = sprintf(
/* Translators: %1$s: expands to opening anchor tag, %2$s expands to closing anchor tag. */
__( 'Google has discontinued its Crawl Errors API. Therefore, any possible crawl errors you might have cannot be displayed here anymore. %1$sRead our statement on this for further information%2$s.', 'wordpress-seo' ),
'',
WPSEO_Admin_Utils::get_new_tab_message() . ''
);
$gsc_notification .= '
';
$gsc_notification .= sprintf(
/* Translators: %1$s: expands to opening anchor tag, %2$s expands to closing anchor tag. */
__( 'To view your current crawl errors, %1$splease visit Google Search Console%2$s.', 'wordpress-seo' ),
'',
WPSEO_Admin_Utils::get_new_tab_message() . ''
);
?>