Releases: WebberZone/top-10
Releases · WebberZone/top-10
Version 2.5.1
- Bug fixes:
- Custom CSS did not get upgraded or saved properly
- Uninstalling the plugin will delete the settings properly
- Old settings will not be deleted but retained in the database
Version 2.5.0
-
Features:
- Upgrade old options to Settings API
- New widget to display the overall count i.e. visits across all your site posts
- Added a filter to override the number of days that maintenance considers to delete the database entries
- New option to disable tracking for logged in users. Find "Track logged-in users" under the "Counter/Tracker" tab in the settings screen
-
Enhancements:
- Make $ajax_tptn_tracker global. Contributed by @pkirk
-
Bug fixes:
- Make sure that $post object is available in
tptn_pc_content
filter. Contributed by @mtws - When editing Attachment post types, metabox should now save correctly
- Disable
top_ten_nonce
as it wasn't needed for front-end users and conflicted with caching plugins
- Make sure that $post object is available in
-
Deprecated:
tptn_default_options
(no replacement) andtptn_read_options
(Usetptn_get_settings
instead)
Version 2.4.4
-
Enhancements:
- Changed tracker type to Query based for better compatibility
-
Bug fixes:
- Security fix: Potential SQL injection vulnerability. Reported by DefenseCode ThunderScan
- Revisions no longer displayed in the "View Popular Posts" screen in admin area
Version 2.4.3
Fixed fatal error when running PHP 7.1.x
Version 2.4.2
- Bug fixes:
- The plugin will no longer generate any notices if post author is missing
- Fixed T_FUNCTION error in admin area on blogs running on PHP versions before 5.3
- Fixed bug where any special characters in the post title would break the output
Version 2.4.1
Fixes Fatal Error on admin pages for PHP versions below 5.6
Version 2.4.0
- Features:
- New tracker using a properly enqueued
.js
file. Two inbuilt options to use query variables or ajaxurl to process the counts - Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
- New tracker using a properly enqueued
- Bug fixes:
- Attachments now work with the widget and elsewhere
- New tracker now works when jQuery is loaded in the footer
- Don't add tracker code when previewing in customizer
- Doesn't report an error if no author is assigned to a post
- Deprecated:
tptn_add_tracker
andtptn_add_viewed_count
have been deprecated. These should no longer be needed with the new tracker option.- wick script in Settings page which was used for fetching category slugs. You should now use the category name (prompted automatically). Slugs will be automatically converted into names.
Version 2.4.0 beta 1
- Features:
- New tracker using a properly enqueued
.js
file. Two inbuilt options to use query variables or ajaxurl to process the counts - Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
- New tracker using a properly enqueued
- Bug fixes:
- Attachments now work with the widget and elsewhere
- New tracker now works when jQuery is loaded in the footer
- Don't add tracker code when previewing in customizer
- Doesn't report an error if no author is assigned to a post
- Deprecated:
tptn_add_tracker
andtptn_add_viewed_count
have been deprecated. These should no longer be needed with the new tracker option.- wick script in Settings page which was used for fetching category slugs. You should now use the category name (prompted automatically). Slugs will be automatically converted into names.
Version 2.3.0
- Features:
- Preliminary support for PolyLang
- Search box and post type filter added in Admin » View Popular Posts screen
- Link to Daily Popular posts screen under Top 10 menu in admin area
post_types
parameter now supports comma-separated list of post types. To fetch all built-in post types use 'all'- New option to use the external and more efficient javascript file for tracking
- New function
tptn_add_tracker
to manually include the tracking code. This is useful if your theme doesn't havethe_content
function that Top 10 filters to add the tracker code
- Enhancements:
- Viewing drafts will no longer increment the counter
- When using the Left Thumbs style, each widget instance includes the CSS code to display the correct thumbnail size
- Bug fixes:
- Missing
DISTINCT
keyword in query resulting in duplicate entries in some cases - PHP Notice in Widget on empty search and 404 pages
- Incorrect notice that Contextual Related Posts is installed on Edit Posts pages
tptn_show_daily_pop_posts()
without arguments did not display daily posts- Using Exclude categories returned incorrect counts and excluded non-posts
- Incorrect count on the Admin » View Popular Posts screen causing incorrect pagination
- Incorrect thumbnail size being pulled out in some instances
- Multiple widget instances incorrectly used the same cache
- Incorrect text domain was initialised
- Missing
Version 2.2.4
- Enhancements:
- Changed text domain to
top-10
in advance of translate.wordpress.org translation system - Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language add this code to your theme's functions.php file
- Changed text domain to