Releases: WebberZone/top-10
Releases · WebberZone/top-10
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
Version 2.2.3
- Bug fixes:
- Shortcode with "exclude_categories" argument works again
Version 2.2.2
Bug fix release for array declarations
Version 2.2.1
- Fixed array declaration to support PHP < 5.4
Version 2.2.0
- Features:
- Caching system using the Transients API. By default the cache is refreshed every hour
- Styles interface lets you select between No styles, Left Thumbs (previously the default style) and Text Only
- Option to limit posts only with a specified date range
- Option in Top 10 meta box to exclude display of popular posts in widget if needed
- Option in Top 10 meta box to exclude post from popular posts list
- Cleaner interface to view popular posts in the admin area
- Enhancements:
strict_limit
is true by default forget_tptn_pop_posts()
- Option to turn off the meta box for everyone or just non-admins
- Contributors & above can also update the visit count in the meta box if this is enabled for them
- Category exclusion now works via a filter function vs. multiple lookups, thereby reducing the number of database queries
- Bugfixes:
- Potential bug when the $wp variable was not detected in rare situations
- In rare cases category exclusion failed when
term_id
didn't matchterm_taxonomy_id
- Deprecated:
ald_tptn_rss
: Usetptn_rss_filter
insteadald_tptn_hook
deprecated and renamed totptn_cron_hook
tptn_manage
andtptn_manage_daily
which were used to render the admin popular posts screens
Version 2.1.0
- New: Button in Top 10 settings page to merge posts across blog ID 0 and 1
- New: Function & filter
get_tptn_pop_posts
that can be used to fetch the popular posts as an object or array. Perfect if you want to write custom code in your theme - New: Support for WPML to return the correct language ID. Thanks to Tony Flags' code snippet.
- New: Filter
tptn_list_count
to modify the formatted list count. See a working example - New: Post types can now be selected in the widget. This allows you to select top posts by post type
- Modified: Plugin will attempt to pull the correct size image when fetching the first image in a post
- Modified: Deprecated "Always display latest post count in the daily lists"
- Modified: timthumb has been deprecated. The script is no longer packaged within Top 10
- Fixed: Bug in tracking code when not using Ajax
- Fixed: Bug in admin column did not check for the blog_id
- Fixed: Bug where default thumbnail location was not correctly saved
- Fixed: Incorrect thumbnail was pulled on attachment pages
- Fixed: blog_id column of the database is correctly initialised as
DEFAULT '1'
Version 2.1.0 Beta
- New: Button in Top 10 settings page to merge posts across blog ID 0 and 1
- New: Function & filter
get_tptn_pop_posts
that can be used to fetch the popular posts as an object or array. Perfect if you want to write custom code in your theme - New: Support for WPML to return the correct language ID. Thanks to Tony Flags' code snippet.
- New: Filter
tptn_list_count
to modify the formatted list count. See a working example - Modified: Plugin will attempt to pull the correct size image when fetching the first image in a post
- Modified: Deprecated "Always display latest post count in the daily lists"
- Modified: timthumb has been deprecated. The script is no longer packaged within Top 10
- Fixed: Bug in tracking code when not using Ajax
- Fixed: Bug in admin column did not check for the blog_id
- Fixed: Bug where default thumbnail location was not correctly saved
- Fixed: Incorrect thumbnail was pulled on attachment pages
- Fixed: blog_id column of the database is correctly initialised as
DEFAULT '1'
Version 2.0.3
- New: Options to choose if you want to delete the Top 10 options and/or data when deleting the plugin
- Fixed: Metabox update did not work properly in v2.0
- Fixed: Duplicate include files
- Modified: In the mySQL tables, the blog_id default value is set to 1