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/interact.../src/Plugin
File: I18n.php
<?php
[0] Fix | Delete
namespace Saltus\WP\Plugin\Saltus\InteractiveMaps\Plugin;
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* Internationalization
[4] Fix | Delete
*/
[5] Fix | Delete
class I18n {
[6] Fix | Delete
[7] Fix | Delete
/**
[8] Fix | Delete
* Unique identifier for retrieving translated strings
[9] Fix | Delete
*
[10] Fix | Delete
* @var string
[11] Fix | Delete
*/
[12] Fix | Delete
private $domain;
[13] Fix | Delete
[14] Fix | Delete
/**
[15] Fix | Delete
* Define the domain.
[16] Fix | Delete
*
[17] Fix | Delete
* @param string $domain Plugin domain.
[18] Fix | Delete
*/
[19] Fix | Delete
public function __construct( string $domain ) {
[20] Fix | Delete
$this->domain = $domain;
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
/**
[24] Fix | Delete
* Load translations.
[25] Fix | Delete
*
[26] Fix | Delete
* @param string $plugin_dirname Plugin directory name, relative to WP_PLUGIN_DIR.
[27] Fix | Delete
*/
[28] Fix | Delete
public function load_plugin_textdomain( string $plugin_dirname ) {
[29] Fix | Delete
[30] Fix | Delete
load_plugin_textdomain(
[31] Fix | Delete
$this->domain,
[32] Fix | Delete
false,
[33] Fix | Delete
$plugin_dirname . '/languages/'
[34] Fix | Delete
);
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function