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/smart-sl.../Nextend/Framewor.../Form/WordPres...
File: PlatformForm.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Nextend\Framework\Form\WordPress;
[2] Fix | Delete
[3] Fix | Delete
use Nextend\Framework\Form\Base\PlatformFormBase;
[4] Fix | Delete
use Nextend\Framework\Request\Request;
[5] Fix | Delete
[6] Fix | Delete
class PlatformForm extends PlatformFormBase {
[7] Fix | Delete
[8] Fix | Delete
public function tokenize() {
[9] Fix | Delete
return '<input type="hidden" name="nextend_nonce" value="' . wp_create_nonce('nextend_security') . '">';
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
public function tokenizeUrl() {
[13] Fix | Delete
$a = array();
[14] Fix | Delete
$a['nextend_nonce'] = wp_create_nonce('nextend_security');
[15] Fix | Delete
[16] Fix | Delete
return $a;
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
public function checkToken() {
[20] Fix | Delete
return wp_verify_nonce(Request::$REQUEST->getVar('nextend_nonce'), 'nextend_security');
[21] Fix | Delete
}
[22] Fix | Delete
}
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function