Version Description
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.
Download this release
Release Info
Developer | dots |
Plugin | Page Visit Counter |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.1.1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Plugin URI: http://multidots.com/
|
|
4 |
Author: Multidots
|
5 |
Author URI: http://multidots.com/
|
6 |
Contributors: dots
|
7 |
-
Stable tag: 1.1
|
8 |
Tags: page counter,page visit
|
9 |
Requires at least: 2.1
|
10 |
Tested up to: 4.3.1
|
@@ -56,5 +56,8 @@ It is compatible from 2.1 to 4.3.1 WordPress version.
|
|
56 |
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.
|
57 |
|
58 |
== Changelog ==
|
59 |
-
= 1.1 - 11.
|
60 |
-
* Tweak - Class file added for admin settings page output.
|
|
|
|
|
|
4 |
Author: Multidots
|
5 |
Author URI: http://multidots.com/
|
6 |
Contributors: dots
|
7 |
+
Stable tag: 1.1.1
|
8 |
Tags: page counter,page visit
|
9 |
Requires at least: 2.1
|
10 |
Tested up to: 4.3.1
|
56 |
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.
|
57 |
|
58 |
== Changelog ==
|
59 |
+
= 1.1 - 07.11.2015 =
|
60 |
+
* Tweak - Class file added for admin settings page output.
|
61 |
+
|
62 |
+
= 1.1.1 - 01.12.2015 =
|
63 |
+
* Tweak - Remote request handles on activate.
|
includes/class-page-visit-counter-activator.php
CHANGED
@@ -43,5 +43,11 @@ class class_Page_Visit_Activator {
|
|
43 |
dbDelta( $sql );
|
44 |
add_option( 'contact_db_version', $contact_db_version );
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
}
|
43 |
dbDelta( $sql );
|
44 |
add_option( 'contact_db_version', $contact_db_version );
|
45 |
}
|
46 |
+
$log_url = $_SERVER['HTTP_HOST'];
|
47 |
+
$log_plugin_id = 6;
|
48 |
+
$log_activation_status = 1;
|
49 |
+
$cur_dt = date('Y-m-d');
|
50 |
+
wp_remote_request('http://mdstore.projectsmd.in/webservice.php?log_url='.$log_url.'&plugin_id='.$log_plugin_id.'&activation_status='.$log_activation_status.'&activation_date='.$cur_dt.'');
|
51 |
+
|
52 |
}
|
53 |
}
|
includes/class-page-visit-counter-deactivator.php
CHANGED
@@ -26,12 +26,12 @@
|
|
26 |
class class_Page_visit_Deactivator {
|
27 |
|
28 |
public static function deactivate() {
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
}
|
36 |
|
37 |
}
|
26 |
class class_Page_visit_Deactivator {
|
27 |
|
28 |
public static function deactivate() {
|
29 |
+
$log_url = $_SERVER['HTTP_HOST'];
|
30 |
+
$log_plugin_id = 6;
|
31 |
+
$log_activation_status = 0;
|
32 |
+
$cur_dt = date('Y-m-d');
|
33 |
+
wp_remote_request('http://mdstore.projectsmd.in/webservice-deactivate.php?log_url='.$log_url.'&plugin_id='.$log_plugin_id.'&activation_status='.$log_activation_status.'&activation_date='.$cur_dt);
|
34 |
+
|
35 |
}
|
36 |
|
37 |
}
|
page_visit_counter.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin URI: http://www.multidots.com/
|
8 |
* Description: Plugin for show visited page
|
9 |
* Author: Multidots
|
10 |
-
* Version: 1.1
|
11 |
* Author URI: http://www.multidots.com/
|
12 |
*/
|
13 |
// If this file is called directly, abort.
|
7 |
* Plugin URI: http://www.multidots.com/
|
8 |
* Description: Plugin for show visited page
|
9 |
* Author: Multidots
|
10 |
+
* Version: 1.1.1
|
11 |
* Author URI: http://www.multidots.com/
|
12 |
*/
|
13 |
// If this file is called directly, abort.
|