Page Visit Counter - Version 5.2

Version Description

  • 26-03-2019 =
  • Border attribute not working issue fixing
Download this release

Release Info

Developer dots
Plugin Icon 128x128 Page Visit Counter
Version 5.2
Comparing to
See all releases

Code changes from version 5.1 to 5.2

Files changed (2) hide show
  1. README.txt +4 -1
  2. page_visit_counter.php +4 -3
README.txt CHANGED
@@ -4,7 +4,7 @@ Plugin URI: https://www.thedotstore.com/
4
  Author: Thedotstore
5
  Author URI: https://www.thedotstore.com/
6
  Contributors: dots, ketuchetan, chiragpatel, jitendrabanjara1991, thedotstore
7
- Stable tag: 5.1
8
  Tags: page counter,page visit, post counter, post visit, wordpress post view, wordpress page view, page visit graph, post visit graph,
9
  Requires at least: 3.0
10
  Tested up to: 5.1.1
@@ -116,6 +116,9 @@ It is compatible from 2.1 to 5.0.3 WordPress version.
116
  Automatic updates should work great for you. As always, though, we recommend backing up your site prior to making any updates just to be sure nothing goes wrong.
117
 
118
  == Changelog ==
 
 
 
119
  = 5.1 - 26-03-2019 =
120
  * minor bug fixed.
121
 
4
  Author: Thedotstore
5
  Author URI: https://www.thedotstore.com/
6
  Contributors: dots, ketuchetan, chiragpatel, jitendrabanjara1991, thedotstore
7
+ Stable tag: 5.2
8
  Tags: page counter,page visit, post counter, post visit, wordpress post view, wordpress page view, page visit graph, post visit graph,
9
  Requires at least: 3.0
10
  Tested up to: 5.1.1
116
  Automatic updates should work great for you. As always, though, we recommend backing up your site prior to making any updates just to be sure nothing goes wrong.
117
 
118
  == Changelog ==
119
+ = 5.2 - 26-03-2019 =
120
+ * Border attribute not working issue fixing
121
+
122
  = 5.1 - 26-03-2019 =
123
  * minor bug fixed.
124
 
page_visit_counter.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin URI: https://www.thedotstore.com/
9
  * Description: This plugin will count the total visits of your sites pages.
10
  * Author: Thedotstore
11
- * Version: 5.1
12
  * Author URI: https://www.thedotstore.com/
13
  */
14
  // If this file is called directly, abort.
@@ -182,9 +182,10 @@ function page_visit_counter_md_total_sites_visit($atts) {
182
  $totalVisitsHtml .= '<div class="md-pvc-total-reports">';
183
  $totalVisitsHtml .= '<div class="md-pvc-total-reports-sub" style="background:' . esc_attr($backgroundcolor) . ';">';
184
  foreach ($array as $number) {
185
- $totalVisitsHtml .= '<span style="border: 1px solid; ' . esc_attr($bordercolor) . ';color:' . esc_attr($fontcolor) . ';background:' . esc_attr($countboxcolor) . ';">' . esc_attr($number) . '</span>';
 
186
  }
187
- $totalVisitsHtml .= '<span class="text" style="border: 1px solid; ' . esc_attr($bordercolor) . ';color:' . esc_attr($fontcolor) . ';background:' . esc_attr($countboxcolor) . ';">' . __('total sites visits.', 'page-visit-counter') . '</span>';
188
  $totalVisitsHtml .= '</div>';
189
  $totalVisitsHtml .= '</div>';
190
 
8
  * Plugin URI: https://www.thedotstore.com/
9
  * Description: This plugin will count the total visits of your sites pages.
10
  * Author: Thedotstore
11
+ * Version: 5.2
12
  * Author URI: https://www.thedotstore.com/
13
  */
14
  // If this file is called directly, abort.
182
  $totalVisitsHtml .= '<div class="md-pvc-total-reports">';
183
  $totalVisitsHtml .= '<div class="md-pvc-total-reports-sub" style="background:' . esc_attr($backgroundcolor) . ';">';
184
  foreach ($array as $number) {
185
+ $totalVisitsHtml .= '<span style="border: 1px solid ' . esc_attr($bordercolor) . ';color:' . esc_attr($fontcolor) . ';background:' . esc_attr($countboxcolor) . ';">' .
186
+ esc_attr($number) . '</span>';
187
  }
188
+ $totalVisitsHtml .= '<span class="text" style="border: 1px solid ' . esc_attr($bordercolor) . ';color:' . esc_attr($fontcolor) . ';background:' . esc_attr($countboxcolor) . ';">' . __('total sites visits.', 'page-visit-counter') . '</span>';
189
  $totalVisitsHtml .= '</div>';
190
  $totalVisitsHtml .= '</div>';
191