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/views/tabs/network
File: restore-site.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WPSEO plugin file.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WPSEO\Admin\Views
[4] Fix | Delete
*
[5] Fix | Delete
* @uses Yoast_Form $yform Form object.
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
if ( ! defined( 'WPSEO_VERSION' ) ) {
[9] Fix | Delete
header( 'Status: 403 Forbidden' );
[10] Fix | Delete
header( 'HTTP/1.1 403 Forbidden' );
[11] Fix | Delete
exit();
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
echo '<p>' . esc_html__( 'Using this form you can reset a site to the default SEO settings.', 'wordpress-seo' ) . '</p>';
[15] Fix | Delete
[16] Fix | Delete
if ( get_blog_count() <= 100 ) {
[17] Fix | Delete
$network_admin = new Yoast_Network_Admin();
[18] Fix | Delete
[19] Fix | Delete
$yform->select(
[20] Fix | Delete
'site_id',
[21] Fix | Delete
__( 'Site ID', 'wordpress-seo' ),
[22] Fix | Delete
$network_admin->get_site_choices( false, true )
[23] Fix | Delete
);
[24] Fix | Delete
}
[25] Fix | Delete
else {
[26] Fix | Delete
$yform->textinput( 'site_id', __( 'Site ID', 'wordpress-seo' ) );
[27] Fix | Delete
}
[28] Fix | Delete
[29] Fix | Delete
wp_nonce_field( 'wpseo-network-restore', 'restore_site_nonce', false );
[30] Fix | Delete
echo '<button type="submit" name="action" value="' . esc_attr( Yoast_Network_Admin::RESTORE_SITE_ACTION ) . '" class="button button-primary">' . esc_html__( 'Restore site to defaults', 'wordpress-seo' ) . '</button>';
[31] Fix | Delete
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function