diff --git a/bootstrap.php b/bootstrap.php index 4a46fde..e24f3c6 100755 --- a/bootstrap.php +++ b/bootstrap.php @@ -55,7 +55,7 @@ class visitors_edits{ ]); global $post; $new_content = str_replace("#post_link#", get_site_url().'/'.$post->post_name.'/suggestions', stripcslashes($options["propose_edit_link"])); - $content .= $new_content; + $content .= $new_content; } return $content; } diff --git a/inc/settings.php b/inc/settings.php index 3624400..4b9ad18 100755 --- a/inc/settings.php +++ b/inc/settings.php @@ -1,4 +1,4 @@ -$_POST["admin_notif_message"], "visitor_notif_message"=>$_POST["visitor_notif_message"], "edit_notify_message"=>$_POST["edit_notify_message"], - "propose_edit_link"=>$_POST["propose_edit_link"] + "propose_edit_link"=>html_entity_decode($_POST["propose_edit_link"]) ]; update_option( "visitors_edits_options", $options ); flashMessage("Settings saved.",""); @@ -29,7 +29,7 @@
- +
@@ -68,4 +68,4 @@ function flashMessage($msg,$type){
\ No newline at end of file +?> diff --git a/vendor/caxy/php-htmldiff/.gitignore b/vendor/caxy/php-htmldiff/.gitignore old mode 100644 new mode 100755 diff --git a/vendor/caxy/php-htmldiff/.scrutinizer.yml b/vendor/caxy/php-htmldiff/.scrutinizer.yml old mode 100644 new mode 100755 diff --git a/vendor/ezyang/htmlpurifier/plugins/phorum/.gitignore b/vendor/ezyang/htmlpurifier/plugins/phorum/.gitignore old mode 100644 new mode 100755