Skip to content

Commit

Permalink
4.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbart committed Mar 20, 2022
1 parent 2659c25 commit e09774b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 119 deletions.
10 changes: 2 additions & 8 deletions core/helpers/class-feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,7 @@ public static function get_email_content()
return '';
}

ob_start();
require_once $file;
$content = ob_get_contents();
ob_end_clean();
$content = file_get_contents($file);

return apply_filters('helpful_pre_get_email_content', $content);
}
Expand All @@ -656,10 +653,7 @@ public static function get_email_content_voter()
return '';
}

ob_start();
require_once $file;
$content = ob_get_contents();
ob_end_clean();
$content = file_get_contents($file);

return apply_filters('helpful_pre_get_email_content_voter', $content);
}
Expand Down
2 changes: 1 addition & 1 deletion helpful.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
* Version: 4.5.2
* Author: Pixelbart
* Author URI: https://pixelbart.de
* Text Domain: helpful
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: helpful, poll, feedback, reviews, vote, review, voting
Requires at least: 4.6
Tested up to: 5.9
Requires PHP: 5.6.20
Stable tag: 4.5.1
Stable tag: 4.5.2
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down
14 changes: 0 additions & 14 deletions templates/feedback-email-voter.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
<?php
/**
* @package Helpful
* @version 4.4.50
* @since 1.0.0
*/
use Helpful\Core\Helper;
use Helpful\Core\Helpers as Helpers;

/* Prevent direct access */
if (!defined('ABSPATH')) {
exit;
}
?>
<p>Hello!</p>

<p>You receive this e-mail because you gave feedback on {blog_name}. This data was submitted by you:</p>
Expand Down
15 changes: 0 additions & 15 deletions templates/feedback-email.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
<?php
/**
* @package Helpful
* @version 4.4.50
* @since 1.0.0
*/
use Helpful\Core\Helper;
use Helpful\Core\Helpers as Helpers;

/* Prevent direct access */
if (!defined('ABSPATH')) {
exit;
}
?>

<p>Hi!</p>

<p>You have received new {type} feedback for your post.</p>
Expand Down
80 changes: 0 additions & 80 deletions wpml-config.xml

This file was deleted.

0 comments on commit e09774b

Please sign in to comment.