Skip to content

Commit b4387e6

Browse files
committed
Release new version 2.8.5
= 2.8.5 - 2025/04/28 = * This maintenance update applies 3 security patches and compatibility with WordPress 6.8 - please upgrade now. * Security Hardening - Reject the request if the key provided does not match the list of allowed keys * Security Hardening - Allow only administrators with manage_options capability to perform the action * Security Hardening - Allow only administrators with manage_options capability to enqueue script * Tweak - Tested for compatibility with WordPress 6.8
1 parent ecdc884 commit b4387e6

File tree

4 files changed

+851
-822
lines changed

4 files changed

+851
-822
lines changed

admin/plugin-init.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ function pvc_empty_daily_table_do_daily() {
9696
add_action('plugins_loaded', 'pvc_lite_upgrade_plugin');
9797
function pvc_lite_upgrade_plugin () {
9898

99-
if(version_compare(get_option('a3_pvc_version'), '1.2') === -1){
100-
update_option('a3_pvc_version', '1.2');
101-
\A3Rev\PageViewsCount\A3_PVC::upgrade_version_1_2();
102-
}
103-
10499
if(version_compare(get_option('a3_pvc_version'), '1.3.5') === -1){
105100
update_option('a3_pvc_version', '1.3.5');
106101

@@ -207,13 +202,13 @@ function add_view_count_for_theme()
207202
function pvc_ict_t_e( $name, $string ) {
208203
global $pvc_wpml;
209204
$string = ( function_exists('icl_t') ? icl_t( $pvc_wpml->plugin_wpml_name, $name, $string ) : $string );
210-
205+
211206
echo wp_kses_post( $string );
212207
}
213208

214209
function pvc_ict_t__( $name, $string ) {
215210
global $pvc_wpml;
216211
$string = ( function_exists('icl_t') ? icl_t( $pvc_wpml->plugin_wpml_name, $name, $string ) : $string );
217-
212+
218213
return $string;
219214
}

page-views-count.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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.8.4
5+
Version: 2.8.5
66
Requires at least: 6.0
7-
Tested up to: 6.6
7+
Tested up to: 6.8
88
Author: a3rev Software
99
Author URI: https://a3rev.com
1010
Text Domain: page-views-count
@@ -23,7 +23,7 @@
2323

2424
define( 'A3_PVC_KEY', 'a3_page_view_count' );
2525
define( 'A3_PVC_PREFIX', 'wp_pvc_' );
26-
define( 'A3_PVC_VERSION', '2.8.4' );
26+
define( 'A3_PVC_VERSION', '2.8.5' );
2727
define( 'A3_PVC_G_FONTS', false );
2828

2929
global $pvc_enable_ajax_load;

0 commit comments

Comments
 (0)