Version Description
- Cleanup
- Rolled back Drift identify feature after it introduced a bug
Download this release
Release Info
Developer | driftcom |
Plugin | Drift |
Version | 1.8.2 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.8.2
- drift.php +1 -1
- includes/admin.php +0 -10
- includes/embed.php +2 -4
- readme.txt +9 -1
drift.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Drift
|
4 |
-
* Version: 1.8
|
5 |
* Description: Adds 100% free live chat & targeted messages to your website. Designed for internet businesses like yours to increase sales, conversions and better support your customers.
|
6 |
* Author: Drift
|
7 |
* Author URI: https://www.drift.com/?ref=wordpress
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Drift
|
4 |
+
* Version: 1.8.2
|
5 |
* Description: Adds 100% free live chat & targeted messages to your website. Designed for internet businesses like yours to increase sales, conversions and better support your customers.
|
6 |
* Author: Drift
|
7 |
* Author URI: https://www.drift.com/?ref=wordpress
|
includes/admin.php
CHANGED
@@ -5,7 +5,6 @@ function drift_options_page()
|
|
5 |
{
|
6 |
// Get options
|
7 |
$options = get_option('Drift_settings');
|
8 |
-
var_dump( esc_attr( $options['drift_identify'] ) );
|
9 |
|
10 |
// Check to see if Drift is enabled
|
11 |
$drift_activated = false;
|
@@ -14,13 +13,6 @@ function drift_options_page()
|
|
14 |
wp_cache_flush();
|
15 |
}
|
16 |
|
17 |
-
// Check to see if Drift is enabled
|
18 |
-
$drift_identify = false;
|
19 |
-
if ( esc_attr( $options['drift_identify'] ) == "on" ) {
|
20 |
-
$drift_identify = true;
|
21 |
-
wp_cache_flush();
|
22 |
-
}
|
23 |
-
|
24 |
?>
|
25 |
<div class="wrap">
|
26 |
<form name="Drift-form" action="options.php" method="post" enctype="multipart/form-data">
|
@@ -56,8 +48,6 @@ function drift_options_page()
|
|
56 |
</td>
|
57 |
</tr>
|
58 |
</table>
|
59 |
-
<label for="drift_identify">Drift Identify:</label>
|
60 |
-
<input type="checkbox" name="Drift_settings[drift_identify]" <?php if($drift_identify) { echo " checked='checked'"; } ?> />
|
61 |
<table class="form-table" cellspacing="2" cellpadding="5" width="100%">
|
62 |
<tr>
|
63 |
<th valign="top" style="padding-top: 10px;">
|
5 |
{
|
6 |
// Get options
|
7 |
$options = get_option('Drift_settings');
|
|
|
8 |
|
9 |
// Check to see if Drift is enabled
|
10 |
$drift_activated = false;
|
13 |
wp_cache_flush();
|
14 |
}
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
?>
|
17 |
<div class="wrap">
|
18 |
<form name="Drift-form" action="options.php" method="post" enctype="multipart/form-data">
|
48 |
</td>
|
49 |
</tr>
|
50 |
</table>
|
|
|
|
|
51 |
<table class="form-table" cellspacing="2" cellpadding="5" width="100%">
|
52 |
<tr>
|
53 |
<th valign="top" style="padding-top: 10px;">
|
includes/embed.php
CHANGED
@@ -59,10 +59,8 @@ function add_drift()
|
|
59 |
echo $drift_tag;
|
60 |
echo"<!-- end: Drift Code. -->\n";
|
61 |
|
62 |
-
// Optional
|
63 |
-
|
64 |
-
get_drift_identify();
|
65 |
-
}
|
66 |
|
67 |
}
|
68 |
}
|
59 |
echo $drift_tag;
|
60 |
echo"<!-- end: Drift Code. -->\n";
|
61 |
|
62 |
+
// Optional Drift Identify call
|
63 |
+
get_drift_identify();
|
|
|
|
|
64 |
|
65 |
}
|
66 |
}
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Drift enables you to chat with your website visitors, increase sales and collect
|
|
7 |
|
8 |
Requires at least: 3.4
|
9 |
Tested up to: 4.6.1
|
10 |
-
Stable tag: 1.8
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -123,6 +123,14 @@ Step-by-step Guide:
|
|
123 |
|
124 |
== Changelog ==
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
= 1.7.1 =
|
127 |
* Cleanup
|
128 |
* Added support for targeting Wordpress User Role
|
7 |
|
8 |
Requires at least: 3.4
|
9 |
Tested up to: 4.6.1
|
10 |
+
Stable tag: 1.8.2
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 1.8.2 =
|
127 |
+
* Cleanup
|
128 |
+
* Rolled back Drift identify feature after it introduced a bug
|
129 |
+
|
130 |
+
= 1.8.1 =
|
131 |
+
* Cleanup
|
132 |
+
* Added support for Drift Identify
|
133 |
+
|
134 |
= 1.7.1 =
|
135 |
* Cleanup
|
136 |
* Added support for targeting Wordpress User Role
|