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/template...
File: add-trial-to-pricing.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Add "&trial=true" to pricing menu item href when running in trial
[2] Fix | Delete
* promotion context.
[3] Fix | Delete
*
[4] Fix | Delete
* @package Freemius
[5] Fix | Delete
* @copyright Copyright (c) 2016, Freemius, Inc.
[6] Fix | Delete
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
[7] Fix | Delete
* @since 1.2.1.5
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[11] Fix | Delete
exit;
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
/**
[15] Fix | Delete
* @var Freemius $fs
[16] Fix | Delete
*/
[17] Fix | Delete
$fs = freemius( $VARS['id'] );
[18] Fix | Delete
?>
[19] Fix | Delete
<script type="text/javascript">
[20] Fix | Delete
(function ($) {
[21] Fix | Delete
$(document).ready(function () {
[22] Fix | Delete
var $pricingMenu = $('.fs-submenu-item.<?php echo $fs->get_unique_affix() ?>.pricing'),
[23] Fix | Delete
$pricingMenuLink = $pricingMenu.parents('a');
[24] Fix | Delete
[25] Fix | Delete
// Add trial querystring param.
[26] Fix | Delete
$pricingMenuLink.attr('href', $pricingMenuLink.attr('href') + '&trial=true');
[27] Fix | Delete
});
[28] Fix | Delete
})(jQuery);
[29] Fix | Delete
</script>
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function