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.../js
File: open-license-activation.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.0.0
[5] Fix | Delete
*/
[6] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[7] Fix | Delete
exit;
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
$license_id = $VARS['license_id'];
[11] Fix | Delete
?>
[12] Fix | Delete
<script type="text/javascript">
[13] Fix | Delete
(function ($) {
[14] Fix | Delete
var prepareLicenseActivationDialog = function () {
[15] Fix | Delete
var $dialog = $('.fs-modal-license-activation');
[16] Fix | Delete
[17] Fix | Delete
// Trigger the license activation dialog box.
[18] Fix | Delete
$($('.activate-license-trigger')[0]).click();
[19] Fix | Delete
[20] Fix | Delete
// setTimeout(function(){
[21] Fix | Delete
$dialog.find('select.fs-licenses option[data-id=<?php echo $license_id ?>]')
[22] Fix | Delete
.prop('selected', true)
[23] Fix | Delete
.change();
[24] Fix | Delete
// }, 100);
[25] Fix | Delete
[26] Fix | Delete
};
[27] Fix | Delete
if ($('.fs-modal-license-activation').length > 0) {
[28] Fix | Delete
prepareLicenseActivationDialog();
[29] Fix | Delete
} else {
[30] Fix | Delete
$('body').on('licenseActivationLoaded', function () {
[31] Fix | Delete
prepareLicenseActivationDialog();
[32] Fix | Delete
});
[33] Fix | Delete
}
[34] Fix | Delete
})(jQuery);
[35] Fix | Delete
</script>
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function