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.../public_h.../wp-conte.../plugins/wordpres.../src/conditio...
File: import-tool-selected-conditional.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Conditionals;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Conditional that is only met when current page is not a specific tool's page.
[5] Fix | Delete
*/
[6] Fix | Delete
class Import_Tool_Selected_Conditional implements Conditional {
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Returns whether or not this conditional is met.
[10] Fix | Delete
*
[11] Fix | Delete
* @return bool Whether or not the conditional is met.
[12] Fix | Delete
*/
[13] Fix | Delete
public function is_met() {
[14] Fix | Delete
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- We just check whether a URL parameter does not exist.
[15] Fix | Delete
return ( isset( $_GET['tool'] ) && $_GET['tool'] === 'import-export' );
[16] Fix | Delete
}
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function