Skip to content

Releases: WebberZone/top-10

Version 2.5.1

18 Nov 13:16
Compare
Choose a tag to compare
  • 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

18 Nov 12:11
Compare
Choose a tag to compare
  • 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
  • Deprecated:

    • tptn_default_options (no replacement) and tptn_read_options (Use tptn_get_settings instead)

Version 2.4.4

28 Oct 10:45
Compare
Choose a tag to compare
  • 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

01 Apr 16:26
Compare
Choose a tag to compare

Fixed fatal error when running PHP 7.1.x

Version 2.4.2

22 Oct 17:48
Compare
Choose a tag to compare
  • 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

25 Sep 13:05
Compare
Choose a tag to compare

Fixes Fatal Error on admin pages for PHP versions below 5.6

Version 2.4.0

22 Sep 18:25
Compare
Choose a tag to compare
  • 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
  • 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 and tptn_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

21 Sep 23:11
Compare
Choose a tag to compare
Version 2.4.0 beta 1 Pre-release
Pre-release
  • 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
  • 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 and tptn_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

25 Mar 11:08
Compare
Choose a tag to compare
  • 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 have the_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

Version 2.2.4

27 Sep 12:48
Compare
Choose a tag to compare
  • 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