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/content-.../inc/freemius/includes/suppleme...
File: fs-essential-functions-2.2.1.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* @package Freemius
[2] Fix | Delete
* @copyright Copyright (c) 2015, Freemius, Inc.
[3] Fix | Delete
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
[4] Fix | Delete
* @since 2.2.1
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[8] Fix | Delete
exit;
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
if ( ! function_exists( 'fs_get_plugins' ) ) {
[12] Fix | Delete
/**
[13] Fix | Delete
* @author Leo Fajardo (@leorw)
[14] Fix | Delete
* @since 2.2.1
[15] Fix | Delete
*
[16] Fix | Delete
* @param bool $delete_cache
[17] Fix | Delete
*
[18] Fix | Delete
* @return array
[19] Fix | Delete
*/
[20] Fix | Delete
function fs_get_plugins( $delete_cache = false ) {
[21] Fix | Delete
$cached_plugins = wp_cache_get( 'plugins', 'plugins' );
[22] Fix | Delete
if ( ! is_array( $cached_plugins ) ) {
[23] Fix | Delete
$cached_plugins = array();
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
$plugin_folder = '';
[27] Fix | Delete
if ( isset( $cached_plugins[ $plugin_folder ] ) ) {
[28] Fix | Delete
$plugins = $cached_plugins[ $plugin_folder ];
[29] Fix | Delete
} else {
[30] Fix | Delete
if ( ! function_exists( 'get_plugins' ) ) {
[31] Fix | Delete
require_once ABSPATH . 'wp-admin/includes/plugin.php';
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
$plugins = get_plugins();
[35] Fix | Delete
[36] Fix | Delete
if ( $delete_cache && is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
[37] Fix | Delete
wp_cache_delete( 'plugins', 'plugins' );
[38] Fix | Delete
}
[39] Fix | Delete
}
[40] Fix | Delete
[41] Fix | Delete
return $plugins;
[42] Fix | Delete
}
[43] Fix | Delete
}
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function