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.../www/wp-conte.../plugins/string-l.../includes/Extensio.../SearchRe.../views
File: replace-form.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Form output for the replace feature.
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
namespace StringLocator;
[5] Fix | Delete
[6] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[7] Fix | Delete
die();
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
$this_url = admin_url( ( is_multisite() ? 'network/admin.php' : 'tools.php' ) . '?page=string-locator' );
[11] Fix | Delete
?>
[12] Fix | Delete
[13] Fix | Delete
<div id="string-locator-replace-form">
[14] Fix | Delete
<h2><?php esc_html_e( 'Replace in results', 'string-locator' ); ?></h2>
[15] Fix | Delete
[16] Fix | Delete
<form action="<?php echo esc_url( $this_url ); ?>" method="post">
[17] Fix | Delete
<p>
[18] Fix | Delete
<label for="string-locator-replace-new-string"><?php esc_html_e( 'New string', 'string-locator' ); ?></label>
[19] Fix | Delete
<input type="text" id="string-locator-replace-new-string" name="string-locator-replace-new-string">
[20] Fix | Delete
</p>
[21] Fix | Delete
[22] Fix | Delete
<p>
[23] Fix | Delete
<label>
[24] Fix | Delete
<input type="checkbox" name="string-locator-replace-loopback-check" id="string-locator-replace-loopback-check" checked="checked">
[25] Fix | Delete
<?php esc_html_e( 'Perform loopback check', 'string-locator' ); ?>
[26] Fix | Delete
</label>
[27] Fix | Delete
[28] Fix | Delete
<br />
[29] Fix | Delete
[30] Fix | Delete
<em>
[31] Fix | Delete
<?php
[32] Fix | Delete
// translators: The link to the WordPress.org article about loopbacks.
[33] Fix | Delete
$url = __( 'https://wordpress.org/support/article/loopbacks/', 'string-locator' );
[34] Fix | Delete
[35] Fix | Delete
printf(
[36] Fix | Delete
'<a href="%s" target="_blank">%s</a>',
[37] Fix | Delete
esc_url( $url ),
[38] Fix | Delete
esc_html__( 'Read more about loopbacks on WordPress.org', 'string-locator' )
[39] Fix | Delete
);
[40] Fix | Delete
?>
[41] Fix | Delete
</em>
[42] Fix | Delete
</p>
[43] Fix | Delete
[44] Fix | Delete
<p>
[45] Fix | Delete
<button type="button" class="button button-primary" id="string-locator-replace-button-all">
[46] Fix | Delete
<?php esc_html_e( 'Replace all strings', 'string-locator' ); ?>
[47] Fix | Delete
</button>
[48] Fix | Delete
<button type="button" class="button button-primary" id="string-locator-replace-button-selected">
[49] Fix | Delete
<?php esc_html_e( 'Replace selected strings', 'string-locator' ); ?>
[50] Fix | Delete
</button>
[51] Fix | Delete
</p>
[52] Fix | Delete
</form>
[53] Fix | Delete
<?php if ( ! self::is_plugin_installed( $instawp_plugin ) ) : ?>
[54] Fix | Delete
<p class="notice notice-error update-nag">
[55] Fix | Delete
<?php esc_html_e( 'It is always a good idea to create a staging site before making changes', 'string-locator' ); ?>
[56] Fix | Delete
<button id="notice-btn-toggle-replace-controls" class="button-link">
[57] Fix | Delete
<?php esc_html_e( 'Install Staging Plugin', 'string-locator' ); ?>
[58] Fix | Delete
</button>
[59] Fix | Delete
</p>
[60] Fix | Delete
<?php endif; ?>
[61] Fix | Delete
</div>
[62] Fix | Delete
[63] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function