widget fix

This commit is contained in:
Switchcase1 2021-06-05 20:33:03 +05:30
parent c062aa4915
commit 72db9009fd
3 changed files with 4 additions and 4 deletions

View file

@ -2,11 +2,11 @@
/**
* Plugin Name: Freescout
* Description: Integrates Freescout features with WordPress
* Version: 1.0.0
* Version: 1.0.1
* Author: ExpressTech
* Text Domain: freescout
*/
define('FSC_VERSION', '1.0.0');
define('FSC_VERSION', '1.0.1');
// Paths
define('FSC_PATH', plugin_dir_path( __FILE__ ));
define('FSC_DIRNAME', basename( plugin_basename( FSC_PATH ) ));

View file

@ -160,7 +160,7 @@ function fsc_display_widget()
$fsc_widget_code = get_option('fsc_widget_code');

if($fsc_enabled){
echo $fsc_widget_code;
echo html_entity_decode(stripslashes($fsc_widget_code));
}
}


View file

@ -4,7 +4,7 @@ Tags: freescout, helpscout, helpdesk
Requires at least: 5.0
Tested up to: 5.7.1
Requires PHP: 7.0
Stable tag: 1.0.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html