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/clone/wp-conte.../plugins/wordpres.../admin/views/tabs/network
File: general.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 '<div class="tab-block">';
[15] Fix | Delete
[16] Fix | Delete
/*
[17] Fix | Delete
* {@internal Important: Make sure the options added to the array here are in line with the
[18] Fix | Delete
* options set in the WPSEO_Option_MS::$allowed_access_options property.}}
[19] Fix | Delete
*/
[20] Fix | Delete
$yform->select(
[21] Fix | Delete
'access',
[22] Fix | Delete
/* translators: %1$s expands to Yoast SEO */
[23] Fix | Delete
sprintf( __( 'Who should have access to the %1$s settings', 'wordpress-seo' ), 'Yoast SEO' ),
[24] Fix | Delete
[
[25] Fix | Delete
'admin' => __( 'Site Admins (default)', 'wordpress-seo' ),
[26] Fix | Delete
'superadmin' => __( 'Super Admins only', 'wordpress-seo' ),
[27] Fix | Delete
]
[28] Fix | Delete
);
[29] Fix | Delete
[30] Fix | Delete
if ( get_blog_count() <= 100 ) {
[31] Fix | Delete
$network_admin = new Yoast_Network_Admin();
[32] Fix | Delete
[33] Fix | Delete
$yform->select(
[34] Fix | Delete
'defaultblog',
[35] Fix | Delete
__( 'New sites in the network inherit their SEO settings from this site', 'wordpress-seo' ),
[36] Fix | Delete
$network_admin->get_site_choices( true, true )
[37] Fix | Delete
);
[38] Fix | Delete
echo '<p>' . esc_html__( 'Choose the site whose settings you want to use as default for all sites that are added to your network. If you choose \'None\', the normal plugin defaults will be used.', 'wordpress-seo' ) . '</p>';
[39] Fix | Delete
}
[40] Fix | Delete
else {
[41] Fix | Delete
$yform->textinput( 'defaultblog', __( 'New sites in the network inherit their SEO settings from this site', 'wordpress-seo' ) );
[42] Fix | Delete
echo '<p>';
[43] Fix | Delete
printf(
[44] Fix | Delete
/* translators: 1: link open tag; 2: link close tag. */
[45] Fix | Delete
esc_html__( 'Enter the %1$sSite ID%2$s for the site whose settings you want to use as default for all sites that are added to your network. Leave empty for none (i.e. the normal plugin defaults will be used).', 'wordpress-seo' ),
[46] Fix | Delete
'<a href="' . esc_url( network_admin_url( 'sites.php' ) ) . '">',
[47] Fix | Delete
'</a>'
[48] Fix | Delete
);
[49] Fix | Delete
echo '</p>';
[50] Fix | Delete
}
[51] Fix | Delete
[52] Fix | Delete
echo '<p><strong>' . esc_html__( 'Take note:', 'wordpress-seo' ) . '</strong> ' . esc_html__( 'Privacy sensitive (FB admins and such), theme specific (title rewrite) and a few very site specific settings will not be imported to new sites.', 'wordpress-seo' ) . '</p>';
[53] Fix | Delete
[54] Fix | Delete
echo '</div>';
[55] Fix | Delete
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function