Skip to content

Commit 5764664

Browse files
committed
Release new version 2.0.5
* 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
1 parent 5f3024b commit 5764664

File tree

5 files changed

+25
-11
lines changed

5 files changed

+25
-11
lines changed

admin/admin-interface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,7 @@ class="a3rev-ui-text a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?> <?p
18461846
$progressing_text = $value['progressing_text'];
18471847
$completed_text = $value['completed_text'];
18481848
$successed_text = $value['successed_text'];
1849+
$errors_text = $value['errors_text'];
18491850
$submit_data = json_encode( $value['submit_data'] );
18501851

18511852
?><tr valign="top">
@@ -1864,7 +1865,7 @@ class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-button <?php echo
18641865
<?php echo implode( ' ', $custom_attributes ); ?>
18651866
><?php echo $button_name; ?></button>
18661867
<span class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-successed"><?php echo $successed_text; ?></span>
1867-
<span class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-errors"></span>
1868+
<span class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-errors"><?php echo $errors_text; ?></span>
18681869

18691870
<!-- Progress Bar -->
18701871
<div class="a3rev-ui-progress-bar-wrap">
@@ -1887,6 +1888,7 @@ class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-button <?php echo
18871888
$progressing_text = $value['progressing_text'];
18881889
$completed_text = $value['completed_text'];
18891890
$successed_text = $value['successed_text'];
1891+
$errors_text = $value['errors_text'];
18901892
$statistic_column = isset( $value['statistic_column'] ) ? $value['statistic_column'] : 1;
18911893

18921894
$multi_current_items = 0;
@@ -1931,7 +1933,7 @@ class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-button <?php echo
19311933
<?php echo implode( ' ', $custom_attributes ); ?>
19321934
><?php echo $button_name; ?></button>
19331935
<span class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-successed"><?php echo $successed_text; ?></span>
1934-
<span class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-errors"></span>
1936+
<span class="a3rev-ui-<?php echo sanitize_title( $value['type'] ) ?>-errors"><?php echo $errors_text; ?></span>
19351937

19361938
<!-- Progress Bar -->
19371939
<div class="a3rev-ui-progress-bar-wrap">

admin/admin-ui.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class WP_PVC_Admin_UI
3131
* You must change to correct plugin name that you are working
3232
*/
3333

34-
public $framework_version = '2.0.2';
34+
public $framework_version = '2.0.3';
3535
public $plugin_name = A3_PVC_KEY;
3636
public $plugin_path = A3_PVC_PLUGIN_NAME;
3737
public $google_api_key_option = '';

admin/includes/fonts_face.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,12 @@ public function __construct() {
389389
}
390390
}
391391

392-
$this->is_valid_google_api_key();
393-
394-
$google_fonts = get_option( $this->plugin_name . '_google_font_list', array() );
392+
if ( apply_filters( $this->plugin_name . '_new_google_fonts_enable', true ) ) {
393+
$this->is_valid_google_api_key();
394+
$google_fonts = get_option( $this->plugin_name . '_google_font_list', array() );
395+
} else {
396+
$google_fonts = array();
397+
}
395398

396399
if ( ! is_array( $google_fonts ) || count( $google_fonts ) < 1 ) {
397400
$google_fonts = apply_filters( $this->plugin_name . '_google_fonts', $this->google_fonts );

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.0.4
5+
Version: 2.0.5
66
Requires at least: 4.6
7-
Tested up to: 4.9.4
7+
Tested up to: 4.9.6
88
Author: a3rev Software
99
Author URI: https://a3rev.com
1010
Text Domain: page-views-count
@@ -22,7 +22,7 @@
2222
define('A3_PVC_IMAGES_URL', A3_PVC_URL . '/assets/images');
2323

2424
define( 'A3_PVC_KEY', 'a3_page_view_count' );
25-
define( 'A3_PVC_VERSION', '2.0.4' );
25+
define( 'A3_PVC_VERSION', '2.0.5' );
2626

2727
/**
2828
* Load Localisation files.

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, postview count,
44
Requires at least: 4.6
5-
Tested up to: 4.9.4
6-
Stable tag: 2.0.4
5+
Tested up to: 4.9.6
6+
Stable tag: 2.0.5
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

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

9090
== Changelog ==
9191

92+
= 2.0.5 - 2018/05/26 =
93+
* This maintenance update is for compatibility with WordPress 4.9.6 and the new GDPR compliance requirements for users in the EU
94+
* Tweak - Test for compatibility with WordPress 4.9.6
95+
* Tweak - Check for any issues with GDPR compliance. None Found
96+
* Framework - Update a3rev Plugin Framework to version 2.0.3
97+
9298
= 2.0.4 - 2018/03/06 =
9399
* Maintenance Update. Fixes for Views today count always showing 0 value, PHP warning and conflict with Yoast SEO Facebook description
94100
* Tweak - Update Readme - Installation - Minimum Requirements PHP to version 5.6.0
@@ -285,6 +291,9 @@ The manual installation method involves down loading our plugin and uploading it
285291

286292
== Upgrade Notice ==
287293

294+
= 2.0.5 =
295+
Maintenance Update. Compatibility WordPress 4.9.6 and the new GDPR compliance requirements for users in the EU
296+
288297
= 2.0.4 =
289298
Maintenance Update. Fixes for Views today count always showing 0 value, PHP warning and conflict with Yoast SEO Facebook description
290299

0 commit comments

Comments
 (0)