Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wordpres.../admin/google_s.../views
File: gsc-display.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WPSEO plugin file.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WPSEO\Admin\Google_Search_Console
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
// Admin header.
[7] Fix | Delete
Yoast_Form::get_instance()->admin_header( false, 'wpseo-gsc', false, 'yoast_wpseo_gsc_options' );
[8] Fix | Delete
[9] Fix | Delete
// GSC Error notification.
[10] Fix | Delete
$gsc_url = 'https://search.google.com/search-console/index';
[11] Fix | Delete
$gsc_post_url = 'https://yoa.st/google-search-console-deprecated';
[12] Fix | Delete
$gsc_style_alert = '
[13] Fix | Delete
display: flex;
[14] Fix | Delete
align-items: baseline;
[15] Fix | Delete
position: relative;
[16] Fix | Delete
padding: 16px;
[17] Fix | Delete
border: 1px solid rgba(0, 0, 0, 0.2);
[18] Fix | Delete
font-size: 14px;
[19] Fix | Delete
font-weight: 400;
[20] Fix | Delete
line-height: 1.5;
[21] Fix | Delete
margin: 16px 0;
[22] Fix | Delete
color: #450c11;
[23] Fix | Delete
background: #f8d7da;
[24] Fix | Delete
';
[25] Fix | Delete
$gsc_style_alert_icon = 'display: block; margin-right: 8px;';
[26] Fix | Delete
$gsc_style_alert_content = 'max-width: 600px;';
[27] Fix | Delete
$gsc_style_alert_link = 'color: #004973;';
[28] Fix | Delete
$gsc_notification = sprintf(
[29] Fix | Delete
/* Translators: %1$s: expands to opening anchor tag, %2$s expands to closing anchor tag. */
[30] Fix | Delete
__( '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' ),
[31] Fix | Delete
'<a style="' . $gsc_style_alert_link . '" href="' . WPSEO_Shortlinker::get( $gsc_post_url ) . '" target="_blank" rel="noopener">',
[32] Fix | Delete
WPSEO_Admin_Utils::get_new_tab_message() . '</a>'
[33] Fix | Delete
);
[34] Fix | Delete
$gsc_notification .= '<br/><br/>';
[35] Fix | Delete
$gsc_notification .= sprintf(
[36] Fix | Delete
/* Translators: %1$s: expands to opening anchor tag, %2$s expands to closing anchor tag. */
[37] Fix | Delete
__( 'To view your current crawl errors, %1$splease visit Google Search Console%2$s.', 'wordpress-seo' ),
[38] Fix | Delete
'<a style="' . $gsc_style_alert_link . '" href="' . $gsc_url . '" target="_blank" rel="noopener noreferrer">',
[39] Fix | Delete
WPSEO_Admin_Utils::get_new_tab_message() . '</a>'
[40] Fix | Delete
);
[41] Fix | Delete
?>
[42] Fix | Delete
<div style="<?php echo $gsc_style_alert; ?>">
[43] Fix | Delete
<span style="<?php echo $gsc_style_alert_icon; ?>">
[44] Fix | Delete
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="14" viewBox="0 0 12 14" role="img" aria-hidden="true"
[45] Fix | Delete
focusable="false" fill="#450c11">
[46] Fix | Delete
<path
[47] Fix | Delete
d="M6 1q1.6 0 3 .8T11.2 4t.8 3-.8 3T9 12.2 6 13t-3-.8T.8 10 0 7t.8-3T3 1.8 6 1zm1 9.7V9.3 9L6.7 9H5l-.1.3V10.9l.3.1h1.6l.1-.3zm0-2.6L7 3.2v-.1L6.8 3H5 5l-.1.2.1 4.9.3.2h1.4l.2-.1Q7 8 6.9 8z"></path>
[48] Fix | Delete
</svg>
[49] Fix | Delete
</span>
[50] Fix | Delete
<span style="<?php echo $gsc_style_alert_content; ?>"><?php echo $gsc_notification; ?></span>
[51] Fix | Delete
</div>
[52] Fix | Delete
<?php
[53] Fix | Delete
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function