PluginProbe
WebberZone Top 10 — Popular Posts / 4.4.2
WebberZone Top 10 — Popular Posts v4.4.2
4.5.2 4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 All 118 releases
top-10 / changelog.txt

changelog.txt in WebberZone Top 10 — Popular Posts 4.4.2, at changelog.txt

860 lines 39.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 This file holds the archive of changelog entries
2
3 = 4.1.1 =
4
5 * Bug fixes:
6 * Fixed an issue where shortcode attributes were not properly sanitized.
7
8 = 4.1.0 =
9
10 Release post: [https://webberzone.com/announcements/top-10-v4-1-0/](https://webberzone.com/announcements/top-10-v4-1-0/)
11
12 * Features:
13 * Import data from the WordPress Popular Posts plugin.
14 * [Pro] Query Optimization: Add MySQL MAX_EXECUTION_TIME directive to prevent long-running queries from consuming excessive server resources. Configurable via settings and the `top_ten_query_max_execution_time` filter.
15 * [Pro] Enhanced Popular Posts RSS feeds with category and post type filtering, available via URL parameters and configurable via dedicated settings.
16 * Admin Dashboard:
17 * Smart chart visualization: Automatically switches to an area chart for datasets with more than 100 data points.
18 * [Pro] Clicking on a column in the Popular Posts chart will display the most popular posts for the selected day.
19
20 * Modifications:
21 * Updated ChartJS and replaced Moment adapter with Luxon.
22 * When any of the Top 10 tables is missing, an admin notice is displayed. The plugin also automatically recreates the missing tables.
23 * Introduced the `wz_top_ten()` function to return the Main instance of Top 10.
24
25 * Bug fixes:
26 * Resolved issue where tables were not automatically created during plugin activation.
27 * Fixed issue where the popular posts feed always displayed the post's full content even when Excerpt was selected under Reading settings.
28 * Fixed "Not found" error when accessing the Daily Popular Posts feed.
29
30 = 4.0.4 =
31
32 * Modifications:
33 * Updated Freemius SDK to v2.11.0.
34
35 * Bug fixes:
36 * Set correct type for `$settings_api` variable to `Settings_API`.
37
38 = 4.0.3 =
39
40 * Modifications:
41 * Support plugin dependencies tag.
42 * Updated Freemius SDK to v2.10.1.
43 * Optimized Numbered List format.
44
45 = 4.0.2 =
46
47 * Updated Freemius SDK to 2.9.0.
48 * Fixed: Set `widget_id` if it is not set in the widget instance.
49
50 = 4.0.1 =
51
52 * Modifications:
53 * Renamed filter to: `top_ten_posts_post_types`.
54 * Updated filter `tptn_query_args_before` to be the queried object instead of just the post.
55
56 * Bug fix:
57 * Fixed issue where admin columns setting didn't work.
58 * Fixed: meta_query was not set.
59
60 = 4.0.0 =
61
62 Release post: [https://webberzone.com/announcements/top-10-v4-0-0/](https://webberzone.com/announcements/top-10-v4-0-0/)
63
64 * Features:
65 * Added a new REST API route (`counter`) to fetch the post count for individual posts.
66 * Introduced the Top 10 Post Count Block for displaying post counts.
67 * Added filters `top_ten_query_exclude_terms_include_parents` and `top_ten_query_include_terms_include_parents` to include parent terms in post queries. Pro users can enable this in settings.
68 * New `get_tptn_short_circuit` filter to bypass the plugin’s output.
69 * New filter `tptn_dashboard_setup` to disable Top 10 widgets being displayed on the admin dashboard.
70 * [Pro] New Top 10 Query Block for querying popular posts directly from the block or site editor.
71 * [Pro] Enhanced Top 10 Featured Image Block now supports multiple image sources.
72 * [Pro] Popular Posts block now includes:
73 * Buttons to save and clear default block settings.
74 * Auto-insertion of default and global settings attributes, with an option to disable this in the **Posts List** settings.
75 * [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.
76 * [Pro] Added `display_only_on_tax_ids` parameter to restrict popular posts display to specific taxonomy terms.
77 * [Pro] New Fast Tracker improves post view tracking speed. Select it from your settings page.
78 * [Pro] "Display columns on post types" setting to choose which post type screens display admin columns.
79 * [Pro] "Also show dashboard to" setting to select user roles that can view the dashboard screen.
80 * [Pro] New option added to the Edit Post meta box mapped to `include_cat_ids` to include popular posts from specific categories only.
81
82 * Enhancements:
83 * Direct support for `WP_Query` if `top_ten_query` is used in query arguments.
84 * Optimised media handler to reduce queries.
85 * New filter: `tptn_shortcode_defaults` for default shortcode arguments.
86 * Media Handler improvements:
87 * Added `use_site_icon` and `style` parameters.
88 * `get_image_html()` now uses `wp_get_attachment_image()` with a valid attachment ID.
89 * Support for `decoding`, `loading`, and `fetchpriority` attributes.
90 * `get_attachment_id_from_url()` now strips size suffixes before locating the attachment ID.
91 * Updated top-10/popular-posts block to API version 3.
92 * Added `$more_link_text` parameter for `get_the_excerpt()`.
93
94 = 3.3.4 =
95
96 * Enhancements:
97 * 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
98 * Cache is enabled by default
99
100 * Bug fixes:
101 * Fixed a bug where the cron job would not run
102
103 = 3.3.3 =
104
105 Release post: [https://webberzone.com/announcements/top-10-v3-3-0/](https://webberzone.com/announcements/top-10-v3-3-0/)
106
107 * Enhancements:
108 * Media Handler checks the title of the image if the alt tag is empty
109
110 * Bug fixes:
111 * Check if `$wp_filters['the_content']` is set. Fixes a PHP warning for users running WordPress before 6.1
112 * `Import_Export` Class: Fix unnecessary check for `network_admin_menu` filter; Minor code fixes to set headers before outputting data
113 * Number fields in the block were not saved.
114
115 * Security fix:
116 * Check nonce before editing post counts in the Admin area
117
118 = 3.3.2 =
119
120 * Enhancements:
121 * Shortcode `tptn_views` takes two new parameters: `format_number` to apply `number_format_i18n` and `post_id` which takes a post ID. Default is the post being viewed
122
123 * Bug fixes:
124 * Plugin activator function didn't run on activation - Top 10's database tables were not created
125
126 = 3.3.1 =
127
128 * Enhancements/Modifications:
129 * When displaying the post thumbnail, the Media Handler will first use the image's alt tag set in the Media editor. If alt tag is empty, then it will use the post title as a fallback. Filter `tptn_thumb_use_image_alt` and set it to false to not use the alt tag. Filter `tptn_thumb_alt_fallback_post_title` and set it to false to disable the alt tag
130 * Orderby clause modified to ensure compatibility if any other plugin rewrites the WP_Query fields
131 * Media Handler will check if the meta field contains a valid URL
132 * When saving settings, the thumbnail width and height is forced if either the width or height of the thumbnail setting is set to 0
133
134 * Bug fixes:
135 * Function `wp_img_tag_add_loading_attr` is deprecated since version 6.3.0
136 * Bug in `the_content` filter detection which sometimes caused the counter not to display
137 * `tptn_thumbnail` settings size disappeared from Settings page if this was deselected
138 * `meta_query` argument was ignored
139
140 = 3.3.0 =
141
142 * Features:
143 * Added new setting to stop tracking bots. Top 10 now includes a comprehensive set of bot user agents via https://github.com/janusman/robot-user-agents
144
145 * Enhancements/Modifications:
146 * Complete rewrite of Top 10 plugin to use Classes and autoloading
147 * `get_tptn_post_count_only()` and `get_tptn_post_count` can also take a `WP_Post` object and returns an integer only without the count being number formatted
148 * `tptn_list` shortcode now accepts `WP_Query` parameters. You can also pass typical array only parameters as a comma-separated list
149 * Tracker script no longer require jQuery
150 * Widget styles are handled properly with the block editor
151
152 * Bug fixes:
153 * Post count should only display once within the content within the main loop
154 * Fixed data labels in the Dashboard graphs
155 * Custom Post Type labels could cause an issue in Network view of popular posts
156
157 = 3.2.5 =
158
159 Release post: [https://webberzone.com/blog/top-10-v3-2-0/](https://webberzone.com/blog/top-10-v3-2-0/)
160
161 * Two minor security fixes
162
163 = 3.2.4 =
164
165 * Security fix when clearing the cache
166
167 = 3.2.3 =
168
169 * Security fix in block
170
171 = 3.2.2 =
172
173 * Enhancements/Modifications:
174 * Dashboard widget will display the number of posts set in the Top 10 Settings page
175
176 * Bug fixes:
177 * Tax query parameter was not set in `Top_Ten_Query`
178 * `post_type` parameter was not set in `Top_Ten_Query`
179 * Parse error in some PHP installs prevented the plugin from being activated
180 * Fixed missing stylesheet error when text_only style is selected
181 * Only from categories option in the Widget now takes a comma-separated ID list only as the autocomplete was not compatible with the new widget interface
182
183 = 3.2.1 =
184
185 * Enhancements/Modifications:
186 * Modified behaviour of Popular Posts page and Admin Dashboard widgets to limit to public post types
187
188 * Bug fixes:
189 * Fixed: `Fatal error: Uncaught Error: Call to undefined function restore_current_blog()`
190
191 = 3.2.0 =
192
193 * Features:
194 * New setting in the Popular Posts block to select the style by block type
195
196 * Multisite improvements:
197 * Retrieve the popular posts across multiple blogs by passing multiple blog IDs to Top_Ten_Query
198 * New Tools page and Import/Export page in Network Admin - you can find this in the Top 10 menu
199 * Resetting the Popular Posts or Daily Popular Posts will apply to the current site in the Admin screen and across the network in the Network Admin screen
200 * Exporting/Importing tables will apply to the current site in the Admin screen and across the network in the Network Admin screen
201
202 * Top_Ten_Query improvements:
203 * WP_Query's arguments `posts_per_page`, `post_type` are prioritised
204 * New filters: `top_ten_query_date_query`, `top_ten_query_meta_query`, `top_ten_query_meta_query_relation`, `top_ten_query_tax_query_relation`, `top_ten_query_posts_fields`, `top_ten_query_posts_join`, `top_ten_query_posts_where`, `top_ten_query_posts_orderby`, `top_ten_query_posts_groupby`
205 * Cache key is generated from the `query_args` instead of just the `input_query_args`
206
207 * Other Enhancements/Modifications:
208 * New function: `get_tptn_table()`; Code has been refactored to use this function
209 * Popular Posts page in Admin or Network Admin use the same class `Top_Ten_Statistics_Table`. Deleted `Top_Ten_Network_Statistics_Table`
210 * Selecting "Text only" thumbnail setting or style will not display a thumbnail
211 * Use moment.js bundled with WordPress
212 * Updated ChartJS and ChartJS Data Labels plugin scripts to latest versions
213
214 * Bug fix:
215 * Scripts/styles didn't load in Network posts page
216
217 = 3.1.3 =
218
219 Release post: [https://webberzone.com/blog/top-10-v3-1-0/](https://webberzone.com/blog/top-10-v3-1-0/)
220
221 * Bug fixes:
222 * Updated moment.min.js
223 * Fixed PHP errors when editing a post in Gutenberg
224
225 = 3.1.2 =
226
227 * Features:
228 * New filter `tptn_show_meta_box` that can be set to false to disable the Top 10 meta box on Edit screens
229 * New option to exclude the current post from the list
230 * New option "Exclude on Categories" to disable the display of the popular posts on selected categories
231
232 * Enhancements/Modifications:
233 * Optimised import of tables particularly for larger imports
234 * Added wpml-config.xml file that will allow settings to be translated with WPML and PolyLang
235 * Upgraded block to the latest API
236 * Upgraded thumbnail display. If default image is disabled, then the site icon will be displayed if available
237 * Admin dashboard counts match with the Popular posts listings
238 * Updated chartjs to the latest version
239
240 * Bug fixes:
241 * Fixed PHP notice on widgets.php page due to the block
242 * Widget checkboxes are not saved in WordPress 5.8
243 * `post__in` argument will now remove any false/0 values
244 * Disabling/enabling author tracking didn't always work
245 * WP Multisite: Creating a new blog with automatically configure the plugin
246 * Widget incorrectly included all post types when no post types were selected instead of using the global settings
247 * Current post was incorrectly excluded when translation functions were run
248
249 = 3.0.0 =
250
251 Release post: [https://webberzone.com/blog/top-10-v3-0-0/](https://webberzone.com/blog/top-10-v3-0-0/)
252
253 * Features:
254 * New Top_Ten_Query class for fetching popular posts. Adds the function `get_tptn_posts()` which replaces `get_tptn_pop_posts()` which will be deprecated in a future version
255 * New option to exclude the Front page and Posts page if these are set in Settings > Reading or via Customizer
256 * New option in the Widget to include specific post IDs in the top lists. You can also use them in the shortcode using `include_post_ids`
257 * New block for Gutenberg aka the block editor. The block is called **Popular Posts [Top 10]** and you can find it under the widgets category
258 * Top 10 now supports the WP REST API. The plugin adds a new tracker type called *REST API based* which you can find under Counter/Tracker settings. Additionally, you can now receive the popular posts via a REST Request to `top-10/v1/popular-posts`
259
260 * Enhancements/Modifications:
261 * No popular posts feed will be added if the corresponding slug is set to blank
262 * Changed `sum_count` to `visits`
263
264 * Bug fixes:
265 * PHP notices when displaying Network Wide Popular Posts in WordPress Multisite
266 * Query based tracker gave an ajax error
267
268 = 2.9.5 =
269
270 Release post: [https://webberzone.com/blog/top-10-v2-9-0/](https://webberzone.com/blog/top-10-v2-9-0/)
271
272 * Bug fixes:
273 * Security fix: Nonces were not always checked in import module
274
275 = 2.9.4 =
276
277 Release post: [https://webberzone.com/blog/top-10-v2-9-0/](https://webberzone.com/blog/top-10-v2-9-0/)
278
279 * Bug fixes:
280 * .json file error when trying to import tables in the Tools page
281
282 = 2.9.3 =
283
284 Release post: [https://webberzone.com/blog/top-10-v2-9-0/](https://webberzone.com/blog/top-10-v2-9-0/)
285
286 * Enhancements:
287 * Cache now uses MD5 generated keys based on the Top 10 parameters being passed. This means the cache should now work with shortcodes and manual implementations
288 * Database creation now uses the correct collation
289
290 * Bug fixes:
291 * `include_cat_ids` didn't work with the shortcode
292 * Password protected posts will no longer show the excerpt
293
294 = 2.9.2 =
295
296 Release post: [https://webberzone.com/blog/top-10-v2-9-0/](https://webberzone.com/blog/top-10-v2-9-0/)
297
298 * Bug fixes:
299 * Custom CSS box would not save
300
301 = 2.9.1 =
302
303 Release post: [https://webberzone.com/blog/top-10-v2-9-0/](https://webberzone.com/blog/top-10-v2-9-0/)
304
305 * Bug fixes:
306 * Published age of posts parameter was no longer working
307 * Importing settings should now work properly - previously checkboxes all ended up being enabled
308 * In rare cases, the tracker would throw PHP errors e.g. on search results page where no posts were loaded and tracker was enabled to load on all pages
309
310 = 2.9.0 =
311
312 Release post: [https://webberzone.com/blog/top-10-v2-9-0/](https://webberzone.com/blog/top-10-v2-9-0/)
313
314 * Features:
315 * Edit the total visits from the Top 10 > Popular Posts page
316 * New shortcode setting `include_cat_ids` to limit top posts to selected categories/taxonomies. Use a comma separated list of [term_taxonomy_id](https://codex.wordpress.org/WordPress_Taxonomy#wp_term_taxonomy)
317 * New setting in widget to only include certain categories. Doesn't work with custom taxonomies
318
319 * Enhancements:
320 * Implemented CodeMirror to format custom styles box
321 * Admin scripts are no longer loaded into the head - but using a separate JavaScript file
322
323 * Bug fixes:
324 * Fixed media lookup returning PHP errors/warnings in rare cases
325 * Use `current_time` and `gmdate` as per latest WordPress Coding Standards
326 * No more unnecessary form modified errors in the popular posts tables in Admin area
327 * Fixed notices in PHP 7.4 when viewing popular posts listings
328 * When editing posts, the count from the metabox will only be used if it is modified
329
330 = 2.8.0 =
331
332 Release post: [https://webberzone.com/blog/top-10-v2-8-0/](https://webberzone.com/blog/top-10-v2-8-0/)
333
334 * Features:
335 * Custom feed for popular posts: Find new options under a new tab called Feed in the settings page where you can set the URL for the overall and daily feeds
336 * New page in the network admin menu to view the popular posts across the network
337 * Also delete transients and other settings on uninstall
338
339 = 2.7.0 =
340
341 Release post: [https://webberzone.com/blog/top-10-v2-7-0/](https://webberzone.com/blog/top-10-v2-7-0/)
342
343 * Features:
344 * Recreate the Top 10 database tables. You can find the button in the Tools page. Backup your database first
345 * New export/import interface to export and import the Top 10 tables and settings
346
347 * Enhancements:
348 * `tptn_views` shortcode adds a new parameter 'count' to explicitly set the count type. Choose from daily, total or overall. This is overridden if daily is set to 0 (backwards compatibility)
349
350 = 2.6.3 =
351
352 * Enhancements:
353 * `tptn_get_first_image` filter has additional attributes `$image_attributes[0], $postid, $thumb_width, $thumb_height`
354
355 * Bug fixes:
356 * Reverted PolyLang implementation that was broken in v2.6.2
357 * Delete deprecated settings on save
358 * Fix settings link in plugins listing page
359 * Fix exclude categories setting on save
360
361 = 2.6.2 =
362
363 * Enhancements:
364 * Select a date range in the Popular Posts listing page in the admin
365
366 * Bug fixes:
367 * Fixed "Published post date" setting was not working. Thanks [@jherrerai](https://github.com/jherrerai)
368 * Modified PolyLang and WPML function implementations
369
370 = 2.6.1 =
371
372 * Bug fixes:
373 * Fixed widget daily and hourly range not working which was broken in v2.6.0
374
375 = 2.6.0 =
376
377 * Features:
378 * New option to disable creation of image thumbnails. Find this under Thumbnail options
379 * Thumbnail HTML markup includes `srcset` and `sizes` attributes when available. Read [Responsive Images in WordPress 4.4](https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/)
380 * New option to turn on debug mode. You can turn this on when requesting support. Find it under the Counter/Tracker tab
381 * New option to add the tracker js file on all pages, not just singular pages. Helps with minification/concatenation
382 * New date filter in the Popular posts listing page to see the views on a particular date
383 * New option to turn ON/OFF the number formatting of the post counts. ON by default
384
385 * Enhancements:
386 * Load tracker in footer
387 * Renamed top-10-tracker.js to top-10-tracker.min.js
388
389 * Bug fixes:
390 * Only delete option if null value is passed to tptn_update_option
391 * "Exclude display on these post IDs" moved under Counter section
392
393 = 2.5.7 =
394
395 * Enhancements:
396 * Tools page now has the code to Recreate the PRIMARY KEY in case the button gives an error. You will need to run this in phpMyAdmin or Adminer
397
398 * Bug fixes:
399 * Fixed translation of " by " which had the incorrect text domain
400 * Post types to includes selects "post" in case no option is selected
401 * Unchecking all boxes of a "Display number of views on" setting would sometimes pick the default value
402
403 = 2.5.6 =
404
405 * Features:
406 * Added new button under Tools to recreate the PRIMARY KEYs
407
408 = 2.5.5 =
409
410 * Bug fixes:
411 * Fixed missing semi-colon in tracker code
412 * Multi-site tracking failed in old installs where the PRIMARY KEY was not properly updated in the database. DB version has been updated to 6.0 to initiate primary key across all installs
413
414 = 2.5.4 =
415
416 * Features:
417 * New button in the Tools page to delete the pre-2.5.x settings
418
419 * Enhancements:
420 * New function `tptn_trim_char` replaces `tptn_max_formatted_content` which should now support non-English characters as well
421 * Counts in the "Popular Posts" page are now number formatted
422
423 * Bug fixes:
424 * Fixed PHP Illegal string offset error
425
426 = 2.5.3 =
427
428 * Bug fixes:
429 * Fixed number of posts displayed in the popular posts list
430
431 = 2.5.2 =
432
433 * Bug fixes:
434 * Settings / Thumbnail / Thumbnail size did not display the correct option even though the admin had this correctly saved
435
436 = 2.5.1 =
437
438 * Bug fixes:
439 * Custom CSS did not get upgraded or saved properly
440 * Uninstalling the plugin will delete the settings properly
441
442 = 2.5.0 =
443
444 * Features:
445 * Upgrade old options to Settings API
446 * New widget to display the overall count i.e. visits across all your site posts
447 * Added a filter to override the number of days that maintenance considers to delete the database entries
448 * New option to disable tracking for logged in users. Find "Track logged-in users" under the "Counter/Tracker" tab in the settings screen
449
450 * Enhancements:
451 * Make $ajax_tptn_tracker global. Contributed by [@pkirk](https://github.com/pkirk)
452
453 * Bug fixes:
454 * Make sure that $post object is available in `tptn_pc_content` filter. Contributed by [@mtws](https://github.com/mtws)
455 * When editing Attachment post types, metabox should now save correctly
456 * Disable `top_ten_nonce` as it wasn't needed for front-end users and conflicted with caching plugins
457
458 * Deprecated:
459 * `tptn_default_options` (no replacement) and `tptn_read_options` (Use `tptn_get_settings` instead)
460
461 = 2.4.4 =
462
463 * Enhancements:
464 * Changed tracker type to Query based for better compatibility
465
466 * Bug fixes:
467 * Security fix: Potential SQL injection vulnerability. Reported by [DefenseCode ThunderScan](http://www.defensecode.com/)
468 * Revisions no longer displayed in the "View Popular Posts" screen in admin area
469
470 = 2.4.3 =
471
472 * Bug fixes:
473 * Fatal error when running PHP 7.1.x
474
475 = 2.4.2 =
476
477 * Bug fixes:
478 * The plugin will no longer generate any notices if post author is missing
479 * Fixed T_FUNCTION error in admin area on blogs running on PHP versions before 5.3
480 * Fixed bug where any special characters in the post title would break the output
481
482 = 2.4.1 =
483
484 * Bug fixes:
485 * Fixes fatal error caused on installs which have versions below PHP5.6
486
487 = 2.4.0 =
488
489 * Features:
490 * New tracker using a properly enqueued `.js` file. Two inbuilt options to use query variables or ajaxurl to process the counts
491 * 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
492
493 * Bug fixes:
494 * Attachments now work with the widget and elsewhere
495 * New tracker now works when jQuery is loaded in the footer
496 * Don't add tracker code when previewing in customizer
497 * Doesn't report an error if no author is assigned to a post
498
499 * Deprecated:
500 * `tptn_add_tracker` and `tptn_add_viewed_count` have been deprecated. These should no longer be needed with the new tracker option.
501 * 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.
502
503 = 2.3.2 =
504
505 * Bug fixes:
506 * Sanitized several unsanitized post and get requests
507
508 * Deprecated:
509 * External PHP file tracking option introduced in v2.3.0 in line with wordpress.org plugin repository listing requirements.
510
511 = 2.3.1 =
512
513 * Bug fixes:
514 * Potential CSRF issue fixed in admin area
515
516 = 2.3.0 =
517
518 * Features:
519 * Preliminary support for PolyLang
520 * Search box and post type filter added in Admin » View Popular Posts screen
521 * Link to Daily Popular posts screen under Top 10 menu in admin area
522 * `post_types` parameter now supports comma-separated list of post types. To fetch all built-in post types use 'all'
523 * New option to use the external and more efficient javascript file for tracking
524 * 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
525
526 * Enhancements:
527 * Viewing drafts will no longer increment the counter
528 * When using the Left Thumbs style, each widget instance includes the CSS code to display the correct thumbnail size
529
530 * Bug fixes:
531 * Missing `DISTINCT` keyword in query resulting in duplicate entries in some cases
532 * PHP Notice in Widget on empty search and 404 pages
533 * Incorrect notice that Contextual Related Posts is installed on Edit Posts pages
534 * `tptn_show_daily_pop_posts()` without arguments did not display daily posts
535 * Using Exclude categories returned incorrect counts and excluded non-posts
536 * Incorrect count on the Admin » View Popular Posts screen causing incorrect pagination
537 * Incorrect thumbnail size being pulled out in some instances
538 * Multiple widget instances incorrectly used the same cache
539 * Incorrect text domain was initialised
540
541 = 2.2.4 =
542
543 * Enhancements:
544 * Changed text domain to `top-10` in advance of translate.wordpress.org translation system
545 * Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language [add this code](https://gist.github.com/ajaydsouza/9b1bc56cec79295e784c) to your theme's functions.php file
546
547 = 2.2.3 =
548
549 * Bug fixes:
550 * Shortcode with "exclude_categories" argument works again
551
552 = 2.2.2 =
553
554 * Bug fixes:
555 * Fixed array declaration to support PHP < 5.4
556
557 = 2.2.0 =
558
559 * Features:
560 * Caching system using the Transients API. By default the cache is refreshed every hour
561 * Styles interface lets you select between No styles, Left Thumbs (previously the default style) and Text Only
562 * Option to limit posts only with a specified date range
563 * Option in Top 10 meta box to exclude display of popular posts in widget if needed
564 * Option in Top 10 meta box to exclude post from popular posts list
565 * Cleaner interface to view popular posts in the admin area
566
567 * Enhancements:
568 * `strict_limit` is true by default for `get_tptn_pop_posts()`
569 * Option to turn off the meta box for everyone or just non-admins
570 * Contributors & above can also update the visit count in the meta box if this is enabled for them
571 * Category exclusion now works via a filter function vs. multiple lookups, thereby reducing the number of database queries
572
573 * Bug fixes:
574 * Potential bug when the $wp variable was not detected in rare situations
575 * In rare cases category exclusion failed when `term_id` didn't match `term_taxonomy_id`
576
577 * Deprecated:
578 * `ald_tptn_rss`: Use `tptn_rss_filter` instead
579 * `ald_tptn_hook` deprecated and renamed to `tptn_cron_hook`
580 * `tptn_manage` and `tptn_manage_daily` which were used to render the admin popular posts screens
581
582 = 2.1.0 =
583
584 * Features:
585 * New: Button in Top 10 settings page to merge posts across blog ID 0 and 1
586 * 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
587 * New: Support for WPML to return the correct language ID. Thanks to Tony Flags' <a href="https://wordpress.org/support/topic/top-10-and-languages-in-wpml?replies=11#post-6622085">code snippet</a>.
588 * New: Filter `tptn_list_count` to modify the formatted list count. See a <a href="https://gist.github.com/ajaydsouza/9f04c26814414a57fab4">working example</a>
589 * New: Post types can now be selected in the widget. This allows you to select top posts by post type
590
591 * Enhancements:
592 * Modified: Plugin will attempt to pull the correct size image when fetching the first image in a post
593 * Modified: Deprecated "Always display latest post count in the daily lists"
594 * Modified: timthumb has been deprecated. The script is no longer packaged within Top 10
595
596 * Bug fixes:
597 * Fixed: Bug in tracking code when not using Ajax
598 * Fixed: Bug in admin column did not check for the blog_id
599 * Fixed: Bug where default thumbnail location was not correctly saved
600 * Fixed: Incorrect thumbnail was pulled on attachment pages
601 * Fixed: blog_id column of the database is correctly initialised as `DEFAULT '1'`
602
603 = 2.0.3 =
604
605 * Features:
606 * New: Options to choose if you want to delete the Top 10 options and/or data when deleting the plugin
607
608 * Bug fixes:
609 * Fixed: Metabox update did not work properly in v2.0
610 * Fixed: Duplicate include files
611 * Modified: In the mySQL tables, the blog_id default value is set to 1
612
613 = 2.0.2 =
614
615 * Features:
616 * 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
617
618 * Enhancements:
619 * 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
620
621 * Bug fixes:
622 * Fixed: Default thumbnail location saved correctly on the Settings page.
623
624 = 2.0.1 =
625
626 * Bug fixes
627 * 500/503 errors caused by 2.0.0
628
629 = 2.0.0 =
630
631 * Features:
632 * 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
633 * 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
634 * 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. You will need to resize your thumbnails after activating this option
635 * New: Actions and filters in the Top 10 Settings page and in the widget which allows for addons to add more settings
636
637 * Enhancements:
638 * 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!
639 * 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
640 * 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
641
642 * Bug fixes:
643 * Fixed: Fix schedule overwrite for the cron job
644 * Fixed: Incorrect permission lookup in the metabox
645
646 = 1.9.10.2 =
647 * Fixed: Schedules were overwritten when activating the maintenance cron job
648
649 = 1.9.10.1 =
650 * Fixed: Initialisation error for new installs
651
652 = 1.9.10 =
653 * New: Meta box on Edit post / page and similar screens that allow you to set the Top 10 (and my other plugins) specific thumbnail for the current post (different from the Featured thumb)
654 * New: Admins can edit the number of total views (find it in the same meta box as above)
655 * New: Turn of tracking for Editors
656 * New: Added w.org and github.com to list of allowed sites for timthumb
657 * New: Option to add quality settings for thumbnails created by timthumb
658 * Modified: Shortcode now accepts all the parameters that `tptn_pop_posts()` can take. For a full list of parameters, please check out the FAQ.
659 * Modified: Widget initialisation to latest standards
660 * Fixed: Localisation initialisation
661 * Fixed: Validation for hour and minute settings for the cron job
662 * New: Several new filters allowing you to hook in an modify the output without editting plugin files
663 * Modified: Reformatted code
664
665 = 1.9.9.2 =
666 * Fixed: Show count in widget was always checked
667 * Fixed: "List of post or page IDs to exclude from the results" did not work for more than one post
668 * Fixed: First image in the post was not detected in some cases. First image attached is now prioritised over image detection to speed things up
669
670 = 1.9.9.1 =
671 * Fixed: Maintenance cron wasn't running properly
672
673 = 1.9.9 =
674 * New: Default style to make those popular posts a little pretty. Choose **Thumbnails inline, before title** under 'Thumbnail options'
675 * New: Option to disable display of counts to non-admins. Check out the option 'Show number of views to non-admins'
676 * New: Option to display different text when there are no hits on the post on non single posts e.g. home page, archives, etc.
677 * New: Class `tptn_posts_widget` for the widgets
678 * Modified: Brought back the old columns "Views" in the Admin Posts and Pages which contains both the Overall and Daily counts
679 * Modified: New admin interface keeping mobile first in mind
680 * Modified: Optimised widgets loading
681 * Modified: Cron job will now delete entries from the daily table older than 90 days
682 * Fixed: mySQL error messages due to improper escaping
683 * Fixed: Plugin no longer overwrites cron schedules
684 * Modified: Lot's of code optimisation and cleanup
685
686 = 1.9.8.5 =
687 * Modified: Including the author in the list will now use the Display Name which is set under “Display name publicly as” in the User Profile page
688 * Fixed: If the Thumbnail meta field is omitted under Output Options, the plugin will automatically revert to its default value i.e. "post-image"
689 * Modified: Cleaner pagination when viewing the Top posts in the Admin section
690 * New: Function `get_tptn_post_count_only` to get just the post count. Use it by passing the Post ID and the type of count (total, daily or overall): `get_tptn_post_count_only($id = FALSE, $count = 'total')`
691 * New: Class `tptn_after_thumb` that wraps around all items of the list after the post thumbnail. This allows you to cleanly style all items to float to the right of the thumbnail
692 * Modified: Updated timthumb
693
694 = 1.9.8.4 =
695 * Fixed PHP notices on Admin pages
696
697 = 1.9.8.3 =
698 * Fixed: Daily count was selecting an extra date when using the widget
699 * Fixed: Default settings for the widget weren't initiated correctly in some cases
700 * Modified: Admin columns of Total and Daily views will be sorted by descending order by default. Click again to sort in ascending order
701 * Modified: Admin columns are fixed to 100px width by default instead of `auto`.
702
703 = 1.9.8.2 =
704 * New: Option to add author
705 * New: More options for the Widgets to configure the post lists
706 * Modified: Shortcodes are now stripped from excerpts
707 * New: Added *s3.amazonaws.com* to list of allowed sites that timthumb can fetch images from
708 * Fixed: Counter was not always displayed on posts
709 * New: All Posts / All Pages have separate *sortable* columns for total and daily counts
710 * Fixed: Warning messages with WP_DEBUG mode ON
711
712 = 1.9.8.1 =
713 * Fixed: Correct numbers of posts were not being fetched
714
715 = 1.9.8 =
716 * New: Custom post support. Choose which custom post types to display in the top posts
717 * New: More display options. Select which archives you want to display the post count
718 * New: Option to open links in new window
719 * New: Option to add nofollow attribute to links
720 * New: Option to exclude posts by ID in the list of top posts being displayed
721 * New: Option to prevent display of the Visit Count on posts by ID
722 * New: Option to choose between using CSS styles or HTML attributes for thumbnail width and height. *HTML width and height attributes are default*
723 * New: Option to restrict the title to fixed number of characters
724 * New: Option to add the date to the list
725 * Modified: Numbers are now formatted based on the locale
726 * Fixed: Plugin will now create thumbnails from the first image in gallery custom posts
727
728 = 1.9.7 =
729 * New: Option to toggle using jQuery ON to track counts. Potential fix for counters not working.
730
731 = 1.9.6 =
732 * Fixed: Daily count was not updated
733
734 = 1.9.5 =
735 * New: CSS class `tptn_title` that can be used to style the title of the posts
736 * New: Option to disable Daily or Overall counters
737 * Fixed: Counter to work with different directory structures. *Thanks Nathan for the fix*
738 * Fixed: To make it work with W3 Total Cache. *Thanks Angelo for the fix*
739 * Modified: timthumb will now work if you have JetPack Proton activated
740
741 = 1.9.4 =
742 * Fixes a bug in the widget introduces in 1.9.3
743
744 = 1.9.3 =
745 * Important security update: Fixed possible XSS vulnerability
746 * Fixed: Exclude categories was not excluding posts correctly
747 * New: Classes `tptn_posts` and `tptn_posts_daily` for the widgets that let you easily style the lists
748
749 = 1.9.2 =
750 * New: Top 10 now has its own menu in the administration area. Access settings and view your top posts directly under the new menu: "Top 10"
751 * New: New classes **tptn_counter** and **tptn_list_count** to style the displayed count
752 * New: New option "Always display latest count for the post" to not use JavaScript to display the counts for a post. This speeds up since no external JS file is used to display the count. Ideal for those not using caching plugins or are not particularly worried if the counts are slightly older.
753 * Fixed: PHP notices when WP_DEBUG is turned on
754 * Modified: Updated timthumb.php
755
756 = 1.9.1 =
757 * Fixed: Plugin will now only reschedule the cron job if there any settings are changed related to it
758 * Modified: If timthumb is disabled, WordPress post thumbnails are no longer resized using timthumb
759 * Modified: Extra check for post featured thumbnails to ensure that the src is not missed
760
761 = 1.9 =
762 * New: Option to use timthumb to resize thumbnails
763 * New: New variable **%overallcount%** that will display the total pageviews on the blog across all posts
764 * New: Post thumbnails are now properly resized based on width and height settings in the Top 10 settings page
765 * New: Customise what to display when there are no top posts detected
766 * New: New scheduled maintenance to clear up daily tables and optimise performance
767 * New: Custom CSS code to style the output. Check out the available styles in the <a href="http://wordpress.org/extend/plugins/top-10/faq/">FAQ</a>.
768 * Modified: New "default.png" file based on from KDE’s <a href="http://www.oxygen-icons.org/">Oxygen icon set</a>
769 * Modified: Dashboard list of posts now displays all the top posts and pages instead of the filtered list based on Settings.
770 * Modified: Dashboard widget now has options to customise the widget. Old widgets have been deleted
771 * Modified: When fetching the first image, plugin ignores external images
772 * Modified: Minor performance tweaks
773
774 = 1.8.1 =
775 * Fixed: Dashboard widgets linking
776
777 = 1.8 =
778 * New: Support for <a href="https://wordpress.org/extend/plugins/video-thumbnails/">Video Thumbnails</a> plugin
779 * New: Thumbnail settings now reflect max width and max height instead of fixed width and height
780 * New: Option to display thumbnails before or after the title
781 * New: Option to not display thumbnails instead of the default thumbnail
782 * New: Counts are now neatly formatted with commas
783 * Modified: Minor tweaks to improve performance
784
785 = 1.7.6 =
786 * Fixed: Bug with Daily posts widget created an extra header tag in certain themes
787
788 = 1.7.5 =
789 * New: Now supports multiple WordPress widgets
790
791 = 1.7 =
792 * New: Exclude posts in the top lists from select categories
793 * Modified: Performance improvements
794 * Modified: Better compatibility with the latest versions of WordPress. If you are using the sidebar widgets, please readd them to your theme under Appearance > Widgets
795
796 = 1.6.3 =
797 * Fixed: PHP errors on certain installs
798 * New: Dutch language
799
800 = 1.6.2 =
801 * Fixed: Multiple rows being created for same ID
802 * Fixed: Counter display
803 * New: New button to clear the duplicate rows in the tables
804 * Fixed: Top 10 should be lighter on the server now
805
806 = 1.6.1 =
807 * Turned the credit option to false by default. This setting won't effect current users.
808 * Turned off borders on post thumbnails. You can customise the CSS class "tptn_thumb" to style the post thumbnail.
809 * The plugin will now display a list of changes in the WordPress Admin > Plugins area whenever an update is available
810 * Fixed: Display of caching plugin compliant daily top posts lists
811
812 = 1.6 =
813 * New: Added support for excerpts and detection of first image in the post
814 * New: Daily posts are tracked using the blog time instead of server time
815 * Fixed: On the first visit, display 1 instead of 0
816 * Fixed: Fixed uninstall script
817
818 = 1.5.3 =
819 * New: You can now use HTML in the counter display
820
821 = 1.5.2 =
822 * Fixed: Fixed display of post thumbnails using postmeta field
823
824 = 1.5.1 =
825 * Fixed some compatibility issues with WordPress 2.9 and YARPP
826
827 = 1.5 =
828 * Added support for post thumbnails feature of WordPress 2.9
829
830 = 1.4.1 =
831 * Fixed compatibility with WordPress 2.9
832 * Fixed XHTML validation errors in output code
833 * Added buttons to reset post count of overall and daily posts
834
835 = 1.4 =
836 * Added localisation support
837 * Separate options to display number of views on posts and pages
838
839 = 1.3 =
840 * "Daily Popular" can now be selected over user selectable number of days.
841 * Option to turn off display of number of pageviews in popular posts list
842 * Option to make "Daily Popular" list compatible with caching plugins
843 * Posts > Top 10 page to view detailed list of popular posts
844
845 = 1.2 =
846 * Do not display Drafts in Related Posts anymore
847 * Option to disable tracking author visits on their own posts
848 * Display top posts for the current day
849
850 = 1.1 =
851 * Added the Popular Posts sidebar widget in your theme. Find it under <strong>Appearance > Widgets</strong>
852 * Uses JavaScript by default to count. Hence, better support for different caching plugins
853 * Change format to display count. Now, a single textarea instead of two text boxes.
854 * Added WordPress 2.7 Dashboard widget to display popular posts on your Dashboard
855
856 = 1.0.1 =
857 * Release
858
859
860