WP-PostRatings

Release-by-release breaking change history · 30k+ active installs

MEDIUM RISK

1.91.3 → 2.0.0

Medium risk: 28 removed functions, 4 removed hooks, 3 removed classes.

  • The action rate_post is no longer fired. Any code hooked to it stops running silently.
  • The filter wp_postratings_always_log is no longer fired. Any code hooked to it stops running silently.
  • The filter wp_postratings_image_extension is no longer fired. Any code hooked to it stops running silently.
  • The filter wp_postratings_loading_alt is no longer fired. Any code hooked to it stops running silently.
  • The function add_ratings_fields() was removed. Direct calls from a theme or another plugin will fatal.
  • The function comment_author_ratings_filter() was removed. Direct calls from a theme or another plugin will fatal.
  • The function delete_ratings_fields() was removed. Direct calls from a theme or another plugin will fatal.
  • The function get_comment_authors_ratings() was removed. Direct calls from a theme or another plugin will fatal.
  • The function manage_ratings() was removed. Direct calls from a theme or another plugin will fatal.
  • The function plugin_uninstalled() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postratings_init() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postratings_page_admin_general_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postratings_page_admin_most_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postratings_page_general_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postratings_page_most_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postratings_wp_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function process_ratings() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_activate() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_activation() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_highest_fields() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_highest_join() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_highest_orderby() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_most_fields() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_most_join() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_most_orderby() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_scripts() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_scripts_admin() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_shortcode() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_sorting() was removed. Direct calls from a theme or another plugin will fatal.
  • The function ratings_variables() was removed. Direct calls from a theme or another plugin will fatal.
  • The function sort_postratings() was removed. Direct calls from a theme or another plugin will fatal.
  • The function widget_ratings_init() was removed. Direct calls from a theme or another plugin will fatal.
  • The class WPPostRatingsAdmin was removed. Code that instantiates or extends it will fatal.
  • The class WPPostRatingsI18N was removed. Code that instantiates or extends it will fatal.
  • The class WP_Widget_PostRatings was removed. Code that instantiates or extends it will fatal.
  • The AJAX action wp_ajax_postratings was removed.
  • The AJAX action wp_ajax_nopriv_postratings was removed.
  • The AJAX action wp_ajax_postratings-admin was removed.
  • The script/style handle wp-postratings-rtl is gone. Code that dequeues, or declares a dependency on, that handle is now wrong.
  • The constant RATINGS_IMG_EXT is no longer defined.
  • The template postratings-templates.php was removed. Themes overriding it keep rendering a copy of a file the plugin no longer uses.