Skip to content

Commit

Permalink
4.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbart committed Sep 21, 2020
1 parent 94cc1c8 commit e538660
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions core/modules/class-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ public function the_content( $content )
return $content;
}

if ( ! isset( $post->ID ) ) {
return $content;
}

$helpful = Helpers\Values::get_defaults();
$post_types = get_option( 'helpful_post_types' );
$user_id = Helpers\User::get_user();
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.4
* Version: 4.4.5
* 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.4
Stable tag: 4.4.5
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down

0 comments on commit e538660

Please sign in to comment.