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/wordfenc.../modules/login-se.../classes/model/view
File: title.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace WordfenceLS\View;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Class Model_Title
[5] Fix | Delete
* @package Wordfence2FA\Page
[6] Fix | Delete
* @var string $id A valid DOM ID for the title.
[7] Fix | Delete
* @var string|Model_HTML $title The title text or HTML.
[8] Fix | Delete
* @var string $helpURL The help URL.
[9] Fix | Delete
* @var string|Model_HTML $helpLink The text/HTML of the help link.
[10] Fix | Delete
*/
[11] Fix | Delete
class Model_Title {
[12] Fix | Delete
private $_id;
[13] Fix | Delete
private $_title;
[14] Fix | Delete
private $_helpURL;
[15] Fix | Delete
private $_helpLink;
[16] Fix | Delete
[17] Fix | Delete
public function __construct($id, $title, $helpURL = null, $helpLink = null) {
[18] Fix | Delete
$this->_id = $id;
[19] Fix | Delete
$this->_title = $title;
[20] Fix | Delete
$this->_helpURL = $helpURL;
[21] Fix | Delete
$this->_helpLink = $helpLink;
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
public function __get($name) {
[25] Fix | Delete
switch ($name) {
[26] Fix | Delete
case 'id':
[27] Fix | Delete
return $this->_id;
[28] Fix | Delete
case 'title':
[29] Fix | Delete
return $this->_title;
[30] Fix | Delete
case 'helpURL':
[31] Fix | Delete
return $this->_helpURL;
[32] Fix | Delete
case 'helpLink':
[33] Fix | Delete
return $this->_helpLink;
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
throw new \OutOfBoundsException('Invalid key: ' . $name);
[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