Skip to content

3.4.0-RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ajaydsouza ajaydsouza released this 30 Aug 21:35
· 29 commits to master since this release

Full Changelog: 3.4.0-RC1...3.4.0-RC2

  • Features:

    • Added a new REST API route (counter) to fetch the post count for individual posts.
    • Introduced the Top 10 Post Count Block for displaying post counts.
    • [Pro] New Top 10 Query Block for querying popular posts directly from the block or site editor.
    • [Pro] Enhanced Top 10 Featured Image Block now supports multiple image sources.
    • [Pro] Popular Posts block now includes:
      • Buttons to save and clear default block settings.
      • Auto-insertion of default and global settings attributes, with an option to disable this in the Posts List settings.
    • [Pro] Added a new admin bar menu item to view daily, total, and overall post counts, access Top 10 admin pages, and clear the Top 10 cache.
    • [Pro] Added display_only_on_tax_ids parameter to restrict popular posts display to specific taxonomy terms.
    • [Pro] New Fast Tracker improves post view tracking speed. Select it from your settings page.
    • Added filters top_ten_query_exclude_terms_include_parents and top_ten_query_include_terms_include_parents to include parent terms in post queries. Pro users can enable this in settings.
    • New get_tptn_short_circuit filter to bypass the plugin’s output.
    • [Pro] "Display columns on post types" setting to choose which post type screens display admin columns.
    • [Pro] "Also show dashboard to" setting to select user roles that can view the dashboard screen.
  • Enhancements:

    • Direct support for WP_Query if top_ten_query is used in query arguments.
    • Optimised media handler to reduce queries.
    • New filter: tptn_shortcode_defaults for default shortcode arguments.
    • Media Handler improvements:
      • Added use_site_icon and style parameters.
      • get_image_html() now uses wp_get_attachment_image() with a valid attachment ID.
      • Support for decoding, loading, and fetchpriority attributes.
      • get_attachment_id_from_url() now strips size suffixes before locating the attachment ID.
    • Updated top-10/popular-posts block to API version 3.
    • Added $more_link_text parameter for get_the_excerpt().