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.../src/helpers
File: site-helper.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Helpers;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* A helper object for site options.
[5] Fix | Delete
*/
[6] Fix | Delete
class Site_Helper {
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Retrieves the site name.
[10] Fix | Delete
*
[11] Fix | Delete
* @return string
[12] Fix | Delete
*/
[13] Fix | Delete
public function get_site_name() {
[14] Fix | Delete
return \wp_strip_all_tags( \get_bloginfo( 'name' ), true );
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
/**
[18] Fix | Delete
* Checks if the current installation is a multisite and there has been a switch
[19] Fix | Delete
* between the set multisites.
[20] Fix | Delete
*
[21] Fix | Delete
* @return bool True when there was a switch between the multisites.
[22] Fix | Delete
*/
[23] Fix | Delete
public function is_multisite_and_switched() {
[24] Fix | Delete
return \is_multisite() && \ms_is_switched();
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function