Skip to content

Commit

Permalink
4.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbart committed Sep 21, 2020
1 parent e538660 commit 8143264
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions core/modules/class-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,12 @@ public function the_content( $content )

do_action( 'helpful_after' );

$content .= ob_get_contents();
$shortcode = ob_get_contents();
ob_end_clean();

$content = apply_filters( 'helpful_the_content', $content, $helpful['post_id'] );
$shortcode = apply_filters( 'helpful_the_content', $shortcode, $helpful['post_id'] );

return $content;
return $content . $shortcode;
}

/**
Expand Down Expand Up @@ -429,12 +429,12 @@ public function helpful( $atts, $content = '' )

do_action( 'helpful_after' );

$content .= ob_get_contents();
$shortcode = ob_get_contents();
ob_end_clean();

$content = apply_filters( 'helpful_the_shortcode', $content, $helpful['post_id'] );
$shortcode = apply_filters( 'helpful_the_shortcode', $shortcode, $helpful['post_id'] );

return $content;
return $content . $shortcode;
}

/**
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.4.5
* Version: 4.4.6
* 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.6
Requires PHP: 5.6.20
Stable tag: 4.4.5
Stable tag: 4.4.6
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down

0 comments on commit 8143264

Please sign in to comment.