Skip to content

Commit c485e63

Browse files
committed
Release new version 2.4.3
= 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
1 parent 02457b5 commit c485e63

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

page-views-count.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/*
33
Plugin Name: Page Views Count
44
Description: Show front end users all time views and views today on posts, pages, index pages and custom post types with the Page Views Count Plugin. Use the Page Views Count function to add page views to any content type or object created by your theme or plugins.
5-
Version: 2.4.2
5+
Version: 2.4.3
66
Requires at least: 5.0
7-
Tested up to: 5.4.2
7+
Tested up to: 5.5
88
Author: a3rev Software
99
Author URI: https://a3rev.com
1010
Text Domain: page-views-count
1111
Domain Path: /languages
1212
WC requires at least: 3.0.0
13-
WC tested up to: 4.3.0
13+
WC tested up to: 4.3.1
1414
License: A "Slug" license name e.g. GPL2
1515
*/
1616
?>
@@ -25,7 +25,7 @@
2525

2626
define( 'A3_PVC_KEY', 'a3_page_view_count' );
2727
define( 'A3_PVC_PREFIX', 'wp_pvc_' );
28-
define( 'A3_PVC_VERSION', '2.4.2' );
28+
define( 'A3_PVC_VERSION', '2.4.3' );
2929
define( 'A3_PVC_G_FONTS', false );
3030

3131
use \A3Rev\PageViewsCount\FrameWork;

readme.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: a3rev, a3rev Software, nguyencongtuan
33
Tags: wordpress page view, page view count , post views, post view count, gutenberg
44
Requires at least: 5.0
5-
Tested up to: 5.4.2
6-
Stable tag: 2.4.2
5+
Tested up to: 5.5
6+
Stable tag: 2.4.3
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

@@ -103,6 +103,12 @@ The manual installation method involves down loading our plugin and uploading it
103103

104104
== Changelog ==
105105

106+
= 2.4.3 - 2020/08/08 =
107+
* This maintenance release is for compatibility with WordPress major version 5.5 and WooCommerce 4.3.1.
108+
* Tweak - Test for compatibility with WordPress 5.5
109+
* Tweak - Test for compatibility with WooCommerce 4.3.1
110+
* Tweak - Return default true for permission_callback, required from register_rest_route on WordPress 5.5
111+
106112
= 2.4.2 - 2020/07/20 =
107113
* This maintenance release has a performance tweak, plus compatibility with WordPress 5.4.2, Gutenberg 8.5.1 and WooCommerce 4.3.0
108114
* Tweak - Reduce the block scripts on first load in the Gutenberg Editor
@@ -385,6 +391,9 @@ The manual installation method involves down loading our plugin and uploading it
385391

386392
== Upgrade Notice ==
387393

394+
= 2.4.3 =
395+
This maintenance release is for compatibility with WordPress major version 5.5 and WooCommerce 4.3.1.
396+
388397
= 2.4.2 =
389398
This maintenance release has a performance tweak, plus compatibility with WordPress 5.4.2, Gutenberg 8.5.1 and WooCommerce 4.3.0
390399

src/api/pvc-api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function rest_api_init() {
2626
register_rest_route( $this->namespace, $rest_base . '/(?P<post_ids>([a-zA-Z0-9_]\,?)+)', array(
2727
'methods' => 'GET',
2828
'callback' => array( $this, str_replace( '/', '', $rest_base ) . '_stats' ),
29+
'permission_callback' => '__return_true',
2930
) );
3031
}
3132
}

0 commit comments

Comments
 (0)