Skip to content

Releases: pixelbart/helpful

4.4.37

29 Jun 14:11
Compare
Choose a tag to compare

Enhanced

  • You can now use the helpful_get_most_helpful( $limit, $post_type ) function to output the most helpful content with PHP. It will then return an array with all the necessary information.
  • You can now use the helpful_get_least_helpful( $limit, $post_type ) function to output the least helpful content with PHP. It will then return an array with all the necessary information.
  • You can use [helpful-feedback] to output the feedback of the current post....
  • You can use [helpful-feedback post="12345"] to output the feedback of a specific post.
  • You can output the feedback of the current post with gravatars using [helpful-feedback gravatar="1"].

4.4.35

25 Jun 16:15
Compare
Choose a tag to compare

Enhanced

  • It is now possible to delete all your feedback with one click. There is now an extra button for this under Helpful > Feedback. The database table with the feedback will then be emptied and optimized.

4.4.34

23 Jun 07:52
Compare
Choose a tag to compare

Enhanced

  • Helpful now uses output buffering for setting sessions and cookies to avoid errors when setting headers. This should solve the problem with the already sent headers.

4.4.33

10 May 15:20
Compare
Choose a tag to compare

Fixed

  • Fixed a bug that caused a server error because a cookie was not set or set too late. This was related to the user ID that Helpful generates. Now the user ID is always generated and the cookie or session is created afterwards.

4.4.32

10 May 13:03
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where the function to create the identification of a user was not checked.

4.4.31

06 Apr 10:18
Compare
Choose a tag to compare

Enhanced

  • It is now possible to shrink the admin columns of Helpful. A maximum width of 125px is targeted. This option can be selected in the Helpful settings under Details. Props @wegerl for the suggestion!

4.4.30

29 Mar 21:27
Compare
Choose a tag to compare

Fixed

  • Fixed a caching bug in the dashboard widget.
  • Fixed PHP warnings related to PHP 8.0. Props @wegerl for the feedback!
  • The text for already voted, is now shown correctly if it was deposited in the settings.

4.4.29

18 Mar 12:27
Compare
Choose a tag to compare

Changed

  • The deactivation of nonces now also affects the variables that are transmitted to Helpful with wp_localize_script. The helpful_frontend_ajax_vars filter can still be used because it is always executed at the end. The ajax_data variable is not completely removed with unset, otherwise there can be problems if you have not checked in your scripts whether the variable exists. Instead, an empty array is returned if the nonces have been disabled.
  • The tag conversion now always checks whether a tag is contained in the string before returning the content of the tag.
  • The vote status of the person who voted is now stored in a global variable $helpful_votestatus for the one vote and then subsequently checked if the variable exists and the type is determined that way. This should ensure that there are fewer database queries per vote.

Props @verygoodplugins for his feedback in the forum.

4.4.28

17 Mar 09:28
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where Helpful did not always detect whether the user voted positive or negative. Instead of passing the type of vote through the feedback form now, the value from the database is used.
  • Fixed another bug where the feedback text was always overwritten. This was due to the fact that every time after the text for pro or con was drawn, the text for fallback was drawn. This was due to the order. Now the fallback is always used first and then checked what the vote status is. And then the fallback text is replaced with pro or con. This should eliminate the problem that wrong texts were shown when a user voted.

Props @verygoodplugins who noticed the bug and reported it: view post in forum

4.4.27

15 Mar 13:09
Compare
Choose a tag to compare

Fixed

  • The text for the feedback form is now not shown if it is not specified.

Props @timtimseo who noticed the bug and reported it: view post in forum