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/wordpres...
File: uninstall.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Runs on Uninstall.
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
// Check that we should be doing this
[5] Fix | Delete
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
[6] Fix | Delete
exit; // Exit if accessed directly
[7] Fix | Delete
}
[8] Fix | Delete
[9] Fix | Delete
// Delete all plugin settings, tables, etc.
[10] Fix | Delete
if ( 'yes' === get_option( 'wws_delete_all' ) ) :
[11] Fix | Delete
global $wpdb;
[12] Fix | Delete
[13] Fix | Delete
// Load install class
[14] Fix | Delete
require_once 'includes/class-wws-install.php';
[15] Fix | Delete
[16] Fix | Delete
// Delete plugin options
[17] Fix | Delete
foreach ( WWS_Install::default_options() as $name => $value ) {
[18] Fix | Delete
if ( get_option( $name ) ) {
[19] Fix | Delete
delete_option( $name );
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
// Delete tables.
[24] Fix | Delete
$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}wws_analytics" );
[25] Fix | Delete
[26] Fix | Delete
endif;
[27] Fix | Delete
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function