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/wp-file-.../lib
File: wpfilemanager.php
[0] Fix | Delete
<?php if (!defined('ABSPATH')) {
[1] Fix | Delete
exit;
[2] Fix | Delete
}
[3] Fix | Delete
$current_user = wp_get_current_user();
[4] Fix | Delete
$wp_fm_lang = get_transient('wp_fm_lang');
[5] Fix | Delete
$wp_fm_theme = get_transient('wp_fm_theme');
[6] Fix | Delete
$opt = get_option('wp_file_manager_settings');
[7] Fix | Delete
?>
[8] Fix | Delete
<script>
[9] Fix | Delete
var vle_nonce = "<?php echo wp_create_nonce('verify-filemanager-email');?>";
[10] Fix | Delete
</script>
[11] Fix | Delete
<div class="wrap wp-filemanager-wrap">
[12] Fix | Delete
<?php
[13] Fix | Delete
$this->load_custom_assets();
[14] Fix | Delete
$this->load_help_desk();
[15] Fix | Delete
?>
[16] Fix | Delete
<div class="wp_fm_lang" style="float:left">
[17] Fix | Delete
<h3 class="fm_heading"><span class="fm_head_icon"><img src="<?php echo plugins_url('images/wp_file_manager.svg', dirname(__FILE__)); ?>"></span>
[18] Fix | Delete
<span class="fm_head_txt">
[19] Fix | Delete
<?php _e('WP File Manager', 'wp-file-manager'); ?> </span> <a href="https://filemanagerpro.io/product/file-manager"
[20] Fix | Delete
class="button button-primary fm_pro_btn" target="_blank" title="<?php _e('Click to Buy PRO', 'wp-file-manager'); ?>">
[21] Fix | Delete
<?php _e('Buy PRO', 'wp-file-manager'); ?></a></h3>
[22] Fix | Delete
</div>
[23] Fix | Delete
[24] Fix | Delete
<div class="wp_fm_lang" style="float:right">
[25] Fix | Delete
<h3 class="fm-topoption">
[26] Fix | Delete
[27] Fix | Delete
<span class="switch_txt_theme"><?php _e('Change Theme Here:', 'wp-file-manager'); ?></span>
[28] Fix | Delete
[29] Fix | Delete
<select name="theme" id="fm_theme">
[30] Fix | Delete
<option value="default" <?php echo (isset($_GET['theme']) && sanitize_text_field(htmlentities($_GET['theme'])) == 'default') ? 'selected="selected"' : (($wp_fm_theme !== false) && $wp_fm_theme == 'default' ? 'selected="selected"' : ''); ?>>
[31] Fix | Delete
<?php _e('Default', 'wp-file-manager'); ?>
[32] Fix | Delete
</option>
[33] Fix | Delete
<option value="dark" <?php echo (isset($_GET['theme']) && sanitize_text_field(htmlentities($_GET['theme'])) == 'dark') ?
[34] Fix | Delete
'selected="selected"' : (($wp_fm_theme !== false) && $wp_fm_theme == 'dark' ? 'selected="selected"' : ''); ?>>
[35] Fix | Delete
<?php _e('Dark', 'wp-file-manager'); ?>
[36] Fix | Delete
</option>
[37] Fix | Delete
<option value="light" <?php echo (isset($_GET['theme']) && sanitize_text_field(htmlentities($_GET['theme'])) == 'light') ?
[38] Fix | Delete
'selected="selected"' : (($wp_fm_theme !== false) && $wp_fm_theme == 'light' ? 'selected="selected"' : ''); ?>>
[39] Fix | Delete
<?php _e('Light', 'wp-file-manager'); ?>
[40] Fix | Delete
</option>
[41] Fix | Delete
<option value="gray" <?php echo (isset($_GET['theme']) && sanitize_text_field(htmlentities($_GET['theme'])) == 'gray') ?
[42] Fix | Delete
'selected="selected"' : (($wp_fm_theme !== false) && $wp_fm_theme == 'gray' ? 'selected="selected"' : ''); ?>>
[43] Fix | Delete
<?php _e('Gray', 'wp-file-manager'); ?>
[44] Fix | Delete
</option>
[45] Fix | Delete
<option value="windows - 10" <?php echo (isset($_GET['theme']) && sanitize_text_field(htmlentities($_GET['theme'])) == 'windows - 10') ?
[46] Fix | Delete
'selected="selected"' : (($wp_fm_theme !== false) && $wp_fm_theme == 'windows - 10' ?
[47] Fix | Delete
'selected="selected"' : ''); ?>>
[48] Fix | Delete
<?php _e('Windows - 10', 'wp-file-manager'); ?>
[49] Fix | Delete
</option>
[50] Fix | Delete
</select>
[51] Fix | Delete
<select name="lang" id="fm_lang">
[52] Fix | Delete
<?php foreach ($this->fm_languages() as $name => $lang) {
[53] Fix | Delete
?>
[54] Fix | Delete
<option value="<?php echo $lang; ?>" <?php echo (isset($_GET['lang']) && sanitize_text_field(htmlentities($_GET['lang'])) == $lang) ?
[55] Fix | Delete
'selected="selected"' : (($wp_fm_lang !== false) && $wp_fm_lang == $lang ? 'selected="selected"' : ''); ?>>
[56] Fix | Delete
<?php echo $name; ?>
[57] Fix | Delete
</option>
[58] Fix | Delete
<?php
[59] Fix | Delete
}?>
[60] Fix | Delete
</select></h3>
[61] Fix | Delete
</div>
[62] Fix | Delete
<div style="clear:both"></div>
[63] Fix | Delete
<div id="wp_file_manager">
[64] Fix | Delete
<center><img src="<?php echo plugins_url('images/loading.gif', dirname(__FILE__)); ?>" class="wp_fm_loader" /></center>
[65] Fix | Delete
</div>
[66] Fix | Delete
[67] Fix | Delete
<?php
[68] Fix | Delete
if (false === get_option('filemanager_email_verified_'.$current_user->ID) && (false === (get_transient('filemanager_cancel_lk_popup_'.$current_user->ID)))) {
[69] Fix | Delete
?>
[70] Fix | Delete
[71] Fix | Delete
<div id="lokhal_verify_email_popup" class="lokhal_verify_email_popup">
[72] Fix | Delete
<div class="lokhal_verify_email_popup_overlay"></div>
[73] Fix | Delete
<div class="lokhal_verify_email_popup_tbl">
[74] Fix | Delete
<div class="lokhal_verify_email_popup_cel">
[75] Fix | Delete
<div class="lokhal_verify_email_popup_content">
[76] Fix | Delete
<a href="javascript:void(0)" class="lokhal_cancel"> <img src="<?php echo plugins_url('lib/img/fm_close_icon.png', dirname(__FILE__)); ?>"
[77] Fix | Delete
class="wp_fm_loader" /></a>
[78] Fix | Delete
<div class="popup_inner_lokhal">
[79] Fix | Delete
<h3>
[80] Fix | Delete
<?php _e('Welcome to File Manager', 'wp-file-manager'); ?>
[81] Fix | Delete
</h3>
[82] Fix | Delete
<p class="lokhal_desc">
[83] Fix | Delete
<?php _e('We love making new friends! Subscribe below and we promise to
[84] Fix | Delete
keep you up-to-date with our latest new plugins, updates,
[85] Fix | Delete
awesome deals and a few special offers.', 'wp-file-manager'); ?>
[86] Fix | Delete
</p>
[87] Fix | Delete
<form>
[88] Fix | Delete
<div class="form_grp">
[89] Fix | Delete
<div class="form_twocol">
[90] Fix | Delete
<input name="verify_lokhal_fname" id="verify_lokhal_fname" class="regular-text"
[91] Fix | Delete
type="text" value="<?php echo (null == get_option('verify_filemanager_fname_'.$current_user->ID)) ? $current_user->user_firstname : get_option('verify_filemanager_fname_'.$current_user->ID); ?>"
[92] Fix | Delete
placeholder="First Name" />
[93] Fix | Delete
<span id="fname_error" class="error_msg">
[94] Fix | Delete
<?php _e('Please Enter First Name.', 'wp-file-manager'); ?></span>
[95] Fix | Delete
</div>
[96] Fix | Delete
<div class="form_twocol">
[97] Fix | Delete
<input name="verify_lokhal_lname" id="verify_lokhal_lname" class="regular-text"
[98] Fix | Delete
type="text" value="<?php echo (null ==
[99] Fix | Delete
get_option('verify_filemanager_lname_'.$current_user->ID)) ? $current_user->user_lastname : get_option('verify_filemanager_lname_'.$current_user->ID); ?>"
[100] Fix | Delete
placeholder="Last Name" />
[101] Fix | Delete
<span id="lname_error" class="error_msg">
[102] Fix | Delete
<?php _e('Please Enter Last Name.', 'wp-file-manager'); ?></span>
[103] Fix | Delete
</div>
[104] Fix | Delete
</div>
[105] Fix | Delete
<div class="form_grp">
[106] Fix | Delete
<div class="form_onecol">
[107] Fix | Delete
<input name="verify_lokhal_email" id="verify_lokhal_email" class="regular-text"
[108] Fix | Delete
type="text" value="<?php echo (null == get_option('filemanager_email_address_'.$current_user->ID)) ? $current_user->user_email : get_option('filemanager_email_address_'.$current_user->ID); ?>"
[109] Fix | Delete
placeholder="Email Address" />
[110] Fix | Delete
<span id="email_error" class="error_msg">
[111] Fix | Delete
<?php _e('Please Enter Email Address.', 'wp-file-manager'); ?></span>
[112] Fix | Delete
</div>
[113] Fix | Delete
</div>
[114] Fix | Delete
<div class="btn_dv">
[115] Fix | Delete
<button class="verify verify_local_email button button-primary "><span class="btn-text"><?php _e('Verify', 'wp-file-manager'); ?>
[116] Fix | Delete
</span>
[117] Fix | Delete
<span class="btn-text-icon">
[118] Fix | Delete
<img src="<?php echo plugins_url('images/btn-arrow-icon.png', dirname(__FILE__)); ?>" />
[119] Fix | Delete
</span></button>
[120] Fix | Delete
<button class="lokhal_cancel button">
[121] Fix | Delete
<?php _e('No Thanks', 'wp-file-manager'); ?></button>
[122] Fix | Delete
</div>
[123] Fix | Delete
</form>
[124] Fix | Delete
</div>
[125] Fix | Delete
<div class="fm_bot_links">
[126] Fix | Delete
<a href="http://ikon.digital/terms.html" target="_blank">
[127] Fix | Delete
<?php _e('Terms of Service', 'wp-file-manager'); ?></a> <a href="http://ikon.digital/privacy.html"
[128] Fix | Delete
target="_blank">
[129] Fix | Delete
<?php _e('Privacy Policy', 'wp-file-manager'); ?></a>
[130] Fix | Delete
</div>
[131] Fix | Delete
[132] Fix | Delete
</div>
[133] Fix | Delete
</div>
[134] Fix | Delete
</div>
[135] Fix | Delete
</div>
[136] Fix | Delete
[137] Fix | Delete
<?php
[138] Fix | Delete
} ?>
[139] Fix | Delete
[140] Fix | Delete
</div>
[141] Fix | Delete
[142] Fix | Delete
<div class="fm_msg_popup">
[143] Fix | Delete
<div class="fm_msg_popup_tbl">
[144] Fix | Delete
<div class="fm_msg_popup_cell">
[145] Fix | Delete
<div class="fm_msg_popup_inner">
[146] Fix | Delete
<div class="fm_msg_text">
[147] Fix | Delete
<?php _e('Saving...', 'wp-file-manager'); ?>
[148] Fix | Delete
</div>
[149] Fix | Delete
<div class="fm_msg_btn_dv"><a href="javascript:void(0)" class="fm_close_msg button button-primary"><?php _e('OK', 'wp-file-manager'); ?></a></div>
[150] Fix | Delete
</div>
[151] Fix | Delete
</div>
[152] Fix | Delete
</div>
[153] Fix | Delete
</div>
[154] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function