Tweak – Replace deprecated .attr(‘disabled’, ‘disabled’) with .prop(‘disabled’, true)
Tweak – Replace deprecated .removeAttr(‘disabled’) with .prop(‘disabled’, false)
Tweak – Replace deprecated .attr(‘selected’, ‘selected’) with .prop(‘selected’, true)
Tweak – Replace deprecated .removeAttr(‘selected’) with .prop(‘selected’, false)
Tweak – Replace deprecated .attr(‘checked’, ‘checked’) with .prop(‘checked’, true)
Tweak – Replace deprecated .removeAttr(‘checked’) with .prop(‘checked’, false)
2.4.7 – 2021/03/09
This maintenance release is for compatibility with WordPress 5.7 and Gutenberg 10.0
Tweak – Test for compatibility with WordPress 5.7
Tweak – Test for compatibility with Gutenberg 10.0
2.4.6 – 2020/12/30
This is an important maintenance release that updates our scripts for compatibility with the latest version of jQuery released in WordPress 5.6
Tweak – Update JavaScript on plugin framework for work compatibility with latest version of jQuery
Fix – Replace .bind( event, handler ) by .on( event, handler ) for compatibility with latest version of jQuery
Fix – Replace :eq() Selector by .eq() for compatibility with latest version of jQuery
Fix – Replace .error() by .on( �error� ) for compatibility with latest version of jQuery
Fix – Replace :first Selector by .first() for compatibility with latest version of jQuery
Fix – Replace :gt(0) Selector by .slice(1) for compatibility with latest version of jQuery
Fix – Remove jQuery.browser for compatibility with latest version of jQuery
Fix – Replace jQuery.isArray() by Array.isArray() for compatibility with latest version of jQuery
Fix – Replace jQuery.isFunction(x) by typeof x === �function� for compatibility with latest version of jQuery
Fix – Replace jQuery.isNumeric(x) by typeof x === �number� for compatibility with latest version of jQuery
Fix – Replace jQuery.now() by Date.now() for compatibility with latest version of jQuery
Fix – Replace jQuery.parseJSON() by JSON.parse() for compatibility with latest version of jQuery
Fix – Remove jQuery.support for compatibility with latest version of jQuery
Fix – Replace jQuery.trim(x) by x.trim() for compatibility with latest version of jQuery
Fix – Replace jQuery.type(x) by typeof x for compatibility with latest version of jQuery
Fix – Replace .load( handler ) by .on( �load�, handler ) for compatibility with latest version of jQuery
Fix – Replace .size() by .length for compatibility with latest version of jQuery
Fix – Replace .unbind( event ) by .off( event ) for compatibility with latest version of jQuery
Fix – Replace .unload( handler ) by .on( �unload�, handler ) for compatibility with latest version of jQuery
2.4.5 – 2020/12/15
This maintenance release adds a block preview image for block discovery
Tweak – Add support for Block Discovery Preview
2.4.4 – 2020/12/08
This maintenance release has tweaks and a fix for compatibility with WordPress major version 5.6, PHP 7.4.8 and Gutenberg 9.4
Tweak – Test for compatibility with PHP 7.4.8
Tweak – Test for compatibility with WordPress 5.6
Tweak – Test for compatibility with Gutenberg 9.4
Fix – Update plugin framework script, remove jQuery.browser is deprecated to resolve conflict with jQuery Migrate Helper plugin
2.4.3 – 2020/08/08
This maintenance release is for compatibility with WordPress major version 5.5 and WooCommerce 4.3.1.
Tweak – Test for compatibility with WordPress 5.5
Tweak – Test for compatibility with WooCommerce 4.3.1
Tweak – Return default true for permission_callback, required from register_rest_route on WordPress 5.5
2.4.2 – 2020/07/20
This maintenance release has a performance tweak, plus compatibility with WordPress 5.4.2, Gutenberg 8.5.1 and WooCommerce 4.3.0
Tweak – Reduce the block scripts on first load in the Gutenberg Editor
Tweak – Test for compatibility with WordPress 5.4.2
Tweak – Test for compatibility with WooCommerce 4.3.0
Tweak – Test for compatibility with Gutenberg 8.5.1
2.4.1 – 2020/04/03
This maintenance release fixes a PHP global function missed in the last update.
Fix – Update some code from global ${$this- to $GLOBALS[$this missed on previous version
2.4.0 – 2020/03/19
This big feature release adds dynamic text, change Total Views and Views Today text from the plugins dashboard. Add support for Dynamic Text string translation. Compatibility with WordPress 5.4, Gutenberg 7.5, WooCommerce 4.0 plus PHP 7.0 to 7.4
Feature – Add dynamic text support for Total Views and Views Today day text from plugin settings
Feature – Option to show text on either side of the count number or both sides
Feature – Add dynamic text strings support for translations with plugins like WPML and Qtranslate
Tweak – Add the dynamic text options to the Counter Position and Style option box.
Tweak – Replace No total views yet text with the number 0
Tweak – Do not show Views Today when the count is 0
Tweak – Move the Counter Icon settings to new options box.
Tweak – Update Gutenberg block for work compatibility with Gutenberg latest version 7.5
Tweak – Test for compatibility with WordPress 5.4
Tweak – Run Travis CI unit build tests for PHP compatibility issues with PHP 7.0 to 7.4
Tweak – Update readme decription screenshots.
2.3.0 – 2020/03/10
This feature release contains, new PVC shortcode, new PVC Widget, option to only show total views, a new eye icon option, full compatibility with Elementor Templates, completion of PHP Composer refactor and 4 PHP fixes for compatibility with PHP v 7.0 to 7.4.
Feature – Add new PVC shortcode [pvc_stats postid=”” increase=”1″ show_views_today=”1″]
Feature – Add new PVC widget
Feature – Add new Counter Icon eye option
Feature – Add Counter Views Type option: Default is ## Total Views, ## Views Today, Option is ## Total Views (hide Views Today)
Feature – Plugin Framework fully refactored to Composer for cleaner code and faster PHP code
Feature – Full compatibility with Elementor Templates
Tweak – Conter Position and Style Options box, added Counter Views Type option
Tweak – Counter Position and Style Options box, added new Counter Icon eye option
Tweak – Added new + Page Views Count Shortcode options box with shortcode and parameters
Tweak – Update plugin for compatibility with new version of plugin Framework
Tweak – Tested for compatibility with WordPress v 5.3.2
Fix – Update global ${$this- to $GLOBALS[$this to resolve 7.0+ PHP warnings
Fix – Update global ${$option to $GLOBALS[$option to resolve 7.0+ PHP warnings
Fix – Update less PHP lib that use square brackets [] instead of curly braces {} for Array , depreciated in PHP 7.4
Fix – Validate for not use get_magic_quotes_gpc function for PHP 7.4
2.2.1 – 2019/12/17
This maintenance release has a full code security review plus compatibility with WordPress 5.3.1
Tweak – Remove the hard coded PHP error_reporting display errors false from compile sass to css
Tweak – Test for compatibility with WordPress 5.3.1
Dev – Replace file_get_contents with HTTP API wp_remote_get
Dev – Ensure that all inputs are sanitized and all outputs are escaped
2.2.0 – 2019/09/12
This feature upgrade is a full refactor of the plugins PHP to PHP dependency manager Composer with autoloading.
Feature – Plugin fully refactored to Composer for cleaner code and faster PHP code
2.1.3 – 2019/08/01
This maintenance upgrade is to fix a style conflict with fontawesome icons
Fix – fontawesome icons not able to get correct style on frontend when the fontawesome script is loaded on the page by theme or another plugin.
2.1.2 – 2019/06/29
This is a maintenance upgrade to fix a potentially fatal error conflict with sites running PHP 7.3 plus compatibility with WordPress 5.2.2
Fix – PHP warning continue targeting switch is equivalent to break for compatibility on PHP 7.3
2.1.1 – 2018/12/17
This is a maintenance update for WordPress version 5.0.2 and PHP 7.3 compatibility.
Framework – Update to use WordPress ESLint rules
Framework – Test and update for compatibility with PHP 7.3
Tweak – Test for compatibility with WordPress
2.1.0 – 2018/12/14
This feature upgrade ports Page View Count editor meta to Page Views Gutenberg block. Full compatibility with WP 5.0.1, 4.9.9 and the Classic editor.
Feature – Add Dynamic Page Views Block for Gutenberg. Admin can use block to show anywhere in post content. When insert the block it auto deactivates global show PVC at top or bottom of that post.
Tweak – Global PVC metabox that shows on editor sidebar works with both Gutenberg and Classic Editor
Tweak – Update functions for frontend view so that it syncs count parameters with Dynamic Block Gutenberg
Framework – Replace wp_remote_fopen with file_get_contents for get web fonts
Framework – Define new variable is_load_google_fonts for custom turn it off if plugins do not need to load google font
Framework – Register style name for dynamic style of plugin for use with Gutenberg block
Framework – Update Modal script and style to version 4.1.1
Framework – Update a3rev Plugin Framework to version 2.1.0
Tweak – Test for compatibility with WordPress 5.0.1 and WordPress 4.9.9
2.0.5 – 2018/05/26
This maintenance update is for compatibility with WordPress 4.9.6 and the new GDPR compliance requirements for users in the EU
Tweak – Test for compatibility with WordPress 4.9.6
Tweak – Check for any issues with GDPR compliance. None Found
Framework – Update a3rev Plugin Framework to version 2.0.3
2.0.4 – 2018/03/06
Maintenance Update. Fixes for Views today count always showing 0 value, PHP warning and conflict with Yoast SEO Facebook description
Tweak – Update Readme – Installation – Minimum Requirements PHP to version 5.6.0
Fix – Update variable to resolve todays views always showing 0. Thanks to @stefanodalli
Fix – Check if global $post exist to resolve PHP Notice Trying to get property of non-object in pvc_class.php on line 225
Fix – Remove old filter that was causing conflict with Yoast SEO Facebook description meta causing the post content to be used and not be changed. Thanks to @banana7777 for reporting the issue
2.0.3 – 2018/02/13
Maintenance Update. Under the bonnet tweaks to keep your plugin running smoothly and is the foundation for new features to be developed this year
Framework – Update a3rev Plugin Framework to version 2.0.2
Framework – Add Framework version for all style and script files
Tweak – Update for full compatibility with a3rev Dashboard plugin
Tweak – Test for compatibility with WordPress 4.9.4
Fix – Use WPSEO_Meta::set_value instead of wpseo_set_value, for compatibility with Yoast SEO plugin
2.0.2 – 2017/12/14
Maintenance Update. This update includes 3 bug fixes, including AMP pages conpatibility
Fix – Headers already sent warning. Delete trailing spaces at bottom of php file
Fix – Change attribute name element-id to data-element-id for compatibility with AMP. Thanks to @veenareddys for reporting the issue
Fix – Update SQL query for fix bug get incorrect total views when edit a Post or Page. Thanks to @groenhart for reporting this issue
2.0.1 – 2017/12/13
Maintenance Update. 3 code tweaks for compatibility with WordPress 4.9.1 and 2 bug fixes
Tweak – Removed auto redirect to plugins admin panel on activation
Tweak – Added Settings link to plugins description on plugins menu
Tweak – Remove console log from script as it was causing theme Customizer to load slowly
Tweak – Tested for compatibility with WordPress 4.9.1
Fix – Update regex expression in the REST endpoint so that it accepts array-like params as expected.
Fix – Get correct item ID if params is parse as array
Credit – Thanks to Cypwu for the Github contribution for REST endpoint modification
2.0.0 – 2017/06/02
Feature – Upgrade Stats image icon to fontawesome Chart Icon
Feature – Add new + Counter Position and Style options box on plugins admin panel
Feature – Added option to show Page Views Count at Top or Bottom of post and page content
Feature – Added Page Views Count Alignment options Left, Centre or Right
Feature – Added new fontawesome count icon size and colour settings
Feature – Registry endpoint /pvc/v1 for full automatic integration with WordPress JSON RESTful API
Feature – Plugin source code now on public Github repository to allow users and developers to contribute
Tweak – Update Ajax load for connect to WordPress JSON RESTful API instead of calling to admin-ajax.php
Tweak – Register fontawesome in plugin framework with style name font-awesome-styles
Tweak – Update plugins readme to show description of new features, link to Github Repo and translations page
Tweak – Tested for compatibility with WordPress major version 4.8.0
1.4.0 – 2016/04/15
Feature – Define new ‘Background Color’ type on plugin framework with ON | OFF switch to disable background or enable it
Feature – Define new function – hextorgb() – for convert hex color to rgb color on plugin framework
Feature – Define new function – generate_background_color_css() – for export background style code on plugin framework that is used to make custom style
Tweak – Register fontawesome in plugin framework with style name is ‘font-awesome-styles’
Tweak – Saved the time number into database for one time customize style and Save change on the Plugin Settings
Tweak – Replace version number by time number for dynamic style file are generated by Sass to solve the issue get cache file on CDN server
Tweak – Update core style and script of plugin framework for support Background Color type
Tweak – Update plugin framework to latest version
Tweak – Tested for full compatibility with WordPress major version 4.5
1.3.2 – 2015/12/10
Tweak – Upgrade media uploader to New UI of WordPress media uploader with WordPress Backbone and Underscore
Tweak – Update the uploader script to save the Attachment ID and work with New Uploader
Tweak – Updated a3 Plugin Framework to the latest version
Tweak – Tested for full compatibility with WordPress major version 4.4
1.3.1 – 2015/11/27
Fix – Don’t include the script and styles from plugin framework on Post, Page Edit to fix the conflict with TinyMCE
Fix – Don’t convert the total views to number format so they can save into the database when edit total views
1.3.0 – 2015/10/14
Feature – Add Page View Counter meta box on post, pages and custom post edit pages.
Feature – Switch Counter ON or OFF from the new meta box controller, individually from the global settings
Feature – Set and edit the All Total Views and Today Views for each item from the new View Counter meta box
Feature – Add new feature for show Counter from the Excerpt Content, this option support for admin to turn the Counter ON or OFF for the homepage, Front Page, archives page, category pages
Tweak – Change Text Domain of plugin to Plugin slug
Tweak – Added Text Domain and Domain Path to the plugin header
Tweak – Change file name of languages files inside /laguages/ folder from ‘pvc’ to ‘page-views-count’, so if you have make your language file then just simple rename file from ‘pvc.mo’ to ‘page-views-count.mo’
Tweak – Tested for full compatibility with WordPress version 4.3.1
1.2.1 – 2015/08/22
Tweak – include new CSSMin lib from https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port into plugin framework instead of old CSSMin lib from http://code.google.com/p/cssmin/ , to avoid conflict with plugins or themes that have CSSMin lib
Tweak – make __construct() function for ‘Compile_Less_Sass’ class instead of using a method with the same name as the class for compatibility on WP 4.3 and is deprecated on PHP4
Tweak – change class name from ‘lessc’ to ‘a3_lessc’ so that it does not conflict with plugins or themes that have another Lessc lib
Tweak – Plugin Framework DB query optimization. Refactored settings_get_option call for dynamic style elements, example typography, border, border_styles, border_corner, box_shadow
Tweak – Tested for full compatibility with WordPress major version 4.3.0
Fix – Update the plugin framework for setup correct default settings on first installed
Fix – Update the plugin framework for reset to correct default settings when hit on ‘Reset Settings’ button on each settings tab
1.2.0 – 2015/06/18
Feature – Plugin framework Mobile First focus upgrade
Feature – Massive improvement in admin UI and UX in PC, tablet and mobile browsers
Feature – Introducing opening and closing Setting Boxes on admin panels.
Feature – Added Plugin Framework Customization settings. Control how the admin panel settings show when editing.
Feature – Added a 260px wide images to the right sidebar for support forum link, Documentation links.
Feature – Added full support for Right to Left RTL layout on plugins admin dashboard.
Fix – Check ‘request_filesystem_credentials’ function, if it does not exists then require the core php lib file from WP where it is defined
1.1.0 – 2015/06/03
Tweak – Security Hardening. Removed all php file_put_contents functions in the plugin framework and replace with the WP_Filesystem API
Tweak – Security Hardening. Removed all php file_get_contents functions in the plugin framework and replace with the WP_Filesystem API
Fix – Update dynamic stylesheet url in uploads folder to the format //domain.com/ so it’s always is correct when loaded as http or https
1.0.9 – 2015/05/30
Tweak – Tested and Tweaked for full compatibility with WordPress Version 4.2.2
Localization – Italian translation by Antonio Petricca.
Localization – Indonesian translation by Ridha Harwan.
1.0.8 – 2015/04/21
Tweak – Tested and Tweaked for full compatibility with WordPress Version 4.2.0
Tweak – Update style of plugin framework. Removed the [data-icon] selector to prevent conflict with other plugins that have font awesome icons
1.0.7
Feature – Next step in full conversion of plugin to backbone.js and Sass – full admin panel conversion from CSS to Sass.
1.0.6.4 – 2014/09/13
Tweak – Added WordPress plugin icon.
Fix – Changed __DIR__ to dirname( __FILE__ ) for Sass script so that on some server __DIR__ is not defined
1.0.6.3 – 2014/09/10
Tweak – Updated google font face in plugin framework.
Tweak – Tested 100% compatible with WordPress Version 4.0
Fix – Use correct variable $postid instead of $post->ID for ‘custom_stats_update_echo()’ function to fix the problem don’t …