Skip to content

4.4.29

Compare
Choose a tag to compare
@pixelbart pixelbart released this 18 Mar 12:27
· 107 commits to master since this release

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.