Releases: WebberZone/top-10
Releases · WebberZone/top-10
Version 4.0.2
Changelog:
- Updated Freemius SDK to 2.9.0.
- Fixed: Set
widget_id
if it is not set in the widget instance.
Full Changelog: 4.0.1...4.0.2
4.0.1
Changelog
-
Modifications:
- Renamed filter to:
top_ten_posts_post_types
. - Updated filter
tptn_query_args_before
to be the queried object instead of just the post.
- Renamed filter to:
-
Bug fix:
- Fixed issue where admin columns setting didn't work.
- Fixed: meta_query was not set.
Full Changelog: 4.0.0...4.0.1
Version 4.0.0
Release post: https://webberzone.com/announcements/top-10-v4-0-0/
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.
- Added filters
top_ten_query_exclude_terms_include_parents
andtop_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. - New filter
tptn_dashboard_setup
to disable Top 10 widgets being displayed on the admin dashboard. - [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.
- [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.
- [Pro] New option added to the Edit Post meta box mapped to
include_cat_ids
to include popular posts from specific categories only.
Enhancements:
- Direct support for
WP_Query
iftop_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
andstyle
parameters. get_image_html()
now useswp_get_attachment_image()
with a valid attachment ID.- Support for
decoding
,loading
, andfetchpriority
attributes. get_attachment_id_from_url()
now strips size suffixes before locating the attachment ID.
- Added
- Updated top-10/popular-posts block to API version 3.
- Added
$more_link_text
parameter forget_the_excerpt()
.
Full Changelog: v3.3.4...4.0.0
3.4.0-RC2
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
andtop_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.
- Added a new REST API route (
-
Enhancements:
- Direct support for
WP_Query
iftop_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
andstyle
parameters. get_image_html()
now useswp_get_attachment_image()
with a valid attachment ID.- Support for
decoding
,loading
, andfetchpriority
attributes. get_attachment_id_from_url()
now strips size suffixes before locating the attachment ID.
- Added
- Updated top-10/popular-posts block to API version 3.
- Added
$more_link_text
parameter forget_the_excerpt()
.
- Direct support for
3.4.0-RC1
Full Changelog: 3.4.0-beta1...3.4.0-RC1
-
Feature:
- New REST API route (counter) to get the post count for a post.
- New block: Top 10 Post Count Block that allows you to display the post count for a post.
- [Pro] New Top 10 Query Block that allows you to query related posts using a block in the block or site editor.
- [Pro] New Top 10 Featured Image Block that is an advanced version of the featured image block that supports multiple different image sources.
- [Pro] Pro version adds additional features to the Popular Posts block:
- New buttons to save default block settings and clear them.
- Inserting the block will also insert the attributes for the default and global settings automatically. This can be disabled in the settings page under the Posts List tab.
-
Enhancements:
- The plugin supports
WP_Query
directly iftop_ten_query
is set in the query arguments. - Optimized media handler to reduce the number of queries.
- New filter:
tptn_shortcode_defaults
to filter the default shortcode arguments. - Media Handler changes:
- New parameters
use_site_icon
andstyle
. - Method
get_image_html()
will usewp_get_attachment_image()
if a valid attachment ID is passed. - Support for
decoding
,loading
andfetchpriority
attributes. get_attachment_id_from_url()
will strip size suffixes from the URL before attempting to find the attachment ID.
- New parameters
- Updated top-10/popular-posts block to API version 3.
- New parameter $more_link_text for get_the_excerpt().
- The plugin supports
3.4.0-beta1
-
Feature:
- New REST API route (counter) to get the post count for a post.
- New block: Top 10 Post Count Block that allows you to display the post count for a post.
- [Pro] New Top 10 Query Block that allows you to query related posts using a block in the block or site editor.
- [Pro] New Top 10 Featured Image Block that is an advanced version of the featured image block that supports multiple different image sources.
-
Enhancements:
- The plugin supports
WP_Query
directly iftop_ten_query
is set in the query arguments. - Optimized media handler to reduce the number of queries.
- New filter:
tptn_shortcode_defaults
to filter the default shortcode arguments. - Media Handler changes:
- New parameters
use_site_icon
andstyle
. - Method
get_image_html()
will usewp_get_attachment_image()
if a valid attachment ID is passed. - Support for
decoding
,loading
andfetchpriority
attributes. get_attachment_id_from_url()
will strip size suffixes from the URL before attempting to find the attachment ID.
- New parameters
- Updated top-10/popular-posts block to API version 3.
- New parameter $more_link_text for get_the_excerpt().
- The plugin supports
Full Changelog: v3.3.4...3.4.0-beta1
Version 3.3.4
Changelog:
-
Enhancements:
- Exporting and importing the post tables now supports post URLs. This will allow you to import the post tables into a different site and have the correct counts. Note: This will only work if the URLs are the same on both sites. If you have changed the URL structure, you will need to manually update the URLs in the exported CSV file
- Cache is enabled by default
-
Bug fixes:
- Fixed a bug where the cron job would not run
What's Changed
- Initialize cron in main by @mustafauysal in #164
New Contributors
- @mustafauysal made their first contribution in #164
Full Changelog: v3.3.3...v3.3.4
v3.3.4-beta1
-
Enhancements:
- Exporting and importing the post tables now supports post URLs. This will allow you to import the post tables into a different site and have the correct counts. Note: This will only work if the URLs are the same on both sites. If you have changed the URL structure, you will need to manually update the URLs in the exported CSV file
-
Bug fixes:
- Fixed a bug where the cron job would not run
What's Changed
- Initialize cron in main by @mustafauysal in #164
New Contributors
- @mustafauysal made their first contribution in #164
Full Changelog: v3.3.3...v3.3.4-beta1
Version 3.3.3
Release post: https://webberzone.com/announcements/top-10-v3-3-0/
-
Enhancements:
- Media Handler checks the title of the image if the alt tag is empty
-
Bug fixes:
- Check if
$wp_filters['the_content']
is set. Fixes a PHP warning for users running WordPress before 6.1 Import_Export
Class: Fix unnecessary check fornetwork_admin_menu
filter; Minor code fixes to set headers before outputting data- Number fields in the block were not saved.
- Check if
-
Security fix:
- Check nonce before editing post counts in the Admin area
Full Changelog: v3.3.2...v3.3.3
v3.3.3-RC2
Installation
- Download the top-10.zip file from this release post
- Visit Plugins in your Admin Area
- Hit the Add New button next to the Plugins heading
- Hit the Upload button next to the Add Plugins heading
- Select the top-10.zip file that you downloaded and hit Install Now
- In the next screen choose Replace current with uploaded
- This should replace the plugin with the latest version. You can verify this by going back to the Plugins page and checking the version number
Changelog:
-
Enhancements:
- Media Handler checks the title of the image if the alt tag is empty
-
Bug fixes:
- Check if
$wp_filters['the_content']
is set. Fixes a PHP warning for users running WordPress before 6.1 Import_Export
Class: Fix unnecessary check fornetwork_admin_menu
filter; Minor code fixes to set headers before outputting data- Number fields in the block were not saved.
- Check if
-
Security fix:
- Check nonce before editing post counts in the Admin area
Full Changelog: v3.3.3-RC1...v3.3.3-RC2