Releases: WebberZone/top-10
Releases · WebberZone/top-10
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
Version 2.0.2
- New: Option to display the daily posts count from midnight. This is enabled by default and mimics the original behaviour of the counter in Top 10 v1.x
- Modified: Posts are tracked hourly based on the time of the blog and not GMT. This was also the default behaviour of the counter in Top 10 v1.x
- Fixed: Default thumbnail location saved correctly on the Settings page.
Version 2.0.1
Fixes 500 error bug created by v2.0.0
Version 2.0.0
- New: Multisite support. If you're using multisite and have previously activated Top 10 on individual blogs in the network, then head over to Top 10 Settings and import the counts from the old Top 10 1.x tables to the new Top 10 v2.0 tables
- New: Fully extendable lookup query for the top lists. Now you can create your own functions in functions.php or in addon plugins to modify the mySQL query
- New: Option to use any of the inbuilt thumbnail sizes or create your own custom image size. If a custom size is chosen, then the plugin uses
add_image_size
to register the custom size. I recommend using Force Regenerate Thumbnails - New: Actions and filters in the Top 10 Settings page and in the widget which allows for addons to add more settings
- Modified: Post tracking is now done on an hourly basis. Date limiting is also on an hourly basis. So, 1 day is actually the last 24 hours and not from midnight anymore!
- Modified: Update and View counts now use query variables instead of external JavaScript files. Check http://goo.gl/yemvyM for sample functions to restore the old method
- Modified: Activating the default styles option will automatically set the thumbnail width and height to 65px, disable author and excerpt and enable crop mode for the thumbnails
- Fixed: Fix schedule overwrite for the cron job
- Fixed: Incorrect permission lookup in the metabox