diff --git a/core/solutions/class-wpml.php b/core/solutions/class-wpml.php index 64ab3da..4fee4d9 100644 --- a/core/solutions/class-wpml.php +++ b/core/solutions/class-wpml.php @@ -65,6 +65,10 @@ public function create_translation_file() { return; } + if (!is_writeable(HELPFUL_PATH)) { + return; + } + $file_path = $this->get_file_path(); if ( file_exists( $file_path ) ) { diff --git a/helpful.php b/helpful.php index 3b3f641..39d8344 100644 --- a/helpful.php +++ b/helpful.php @@ -2,7 +2,7 @@ /** * Plugin Name: Helpful * Description: Add a fancy feedback form under your posts or post-types and ask your visitors a question. Give them the abbility to vote with yes or no. - * Version: 4.5.17 + * Version: 4.5.18 * Author: Pixelbart * Author URI: https://pixelbart.de * Text Domain: helpful diff --git a/readme.txt b/readme.txt index 4b2ec7e..4aeceb6 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: helpful, poll, feedback, reviews, vote, review, voting Requires at least: 4.6 Tested up to: 6.0 Requires PHP: 5.6.20 -Stable tag: 4.5.17 +Stable tag: 4.5.18 License: MIT License License URI: https://opensource.org/licenses/MIT