WP-PostViews

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

MEDIUM RISK

1.78.1 → 2.0.0

Medium risk: 30 removed functions, 4 removed hooks, 2 removed AJAX actions.

  • The action postviews_increment_views is no longer fired. Any code hooked to it stops running silently.
  • The action postviews_increment_views_ajax is no longer fired. Any code hooked to it stops running silently.
  • The filter postviews_should_count is no longer fired. Any code hooked to it stops running silently.
  • The filter the_views is no longer fired. Any code hooked to it stops running silently.
  • The function add_postviews_column() was removed. Direct calls from a theme or another plugin will fatal.
  • The function add_postviews_column_content() was removed. Direct calls from a theme or another plugin will fatal.
  • The function add_views_fields() was removed. Direct calls from a theme or another plugin will fatal.
  • The function increment_views() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_menu() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_page_admin_general_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_page_admin_most_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_page_general_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_page_most_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_round_number() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_textdomain() was removed. Direct calls from a theme or another plugin will fatal.
  • The function postviews_wp_stats() was removed. Direct calls from a theme or another plugin will fatal.
  • The function process_postviews() was removed. Direct calls from a theme or another plugin will fatal.
  • The function register_rest_views_field() was removed. Direct calls from a theme or another plugin will fatal.
  • The function should_views_be_displayed() was removed. Direct calls from a theme or another plugin will fatal.
  • The function snippet_text() was removed. Direct calls from a theme or another plugin will fatal.
  • The function sort_postviews() was removed. Direct calls from a theme or another plugin will fatal.
  • The function sort_postviews_column() was removed. Direct calls from a theme or another plugin will fatal.
  • The function uninstall() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_activation() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_fields() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_join() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_options_parse() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_orderby() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_shortcode() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_sorting() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_variables() was removed. Direct calls from a theme or another plugin will fatal.
  • The function views_where() was removed. Direct calls from a theme or another plugin will fatal.
  • The function widget_views_init() was removed. Direct calls from a theme or another plugin will fatal.
  • The function wp_postview_cache_count_enqueue() was removed. Direct calls from a theme or another plugin will fatal.
  • The class WP_Widget_PostViews was removed. Code that instantiates or extends it will fatal.
  • The AJAX action wp_ajax_postviews was removed.
  • The AJAX action wp_ajax_nopriv_postviews was removed.