Popups – WordPress Popup - Version 1.7.0.1

Version Description

  • Left some debug code on previous release that can cause issues
Download this release

Release Info

Developer timersys
Plugin Icon 128x128 Popups – WordPress Popup
Version 1.7.0.1
Comparing to
See all releases

Code changes from version 1.7 to 1.7.0.1

Files changed (3) hide show
  1. README.txt +4 -1
  2. popups.php +2 -2
  3. public/includes/class-spu-rules.php +1 -6
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: popup,twitter,google+, facebook,Popups, twitter follow, facebook like, google plus,social boost, social splash, postmatic, mailpoet, facebook popup, scroll popups, popups, wordpress popup, wp popups, cf7, gf, gravity forms, contact form 7, ifs, infusion soft, subscribe, login popup, ajax login popups
5
  Requires at least: 3.6
6
  Tested up to: 4.7.1
7
- Stable tag: 1.7
8
  Text Domain: popups
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -195,6 +195,9 @@ If you have cache be sure to enable AJAX mode in the plugin settings page
195
 
196
  == Changelog ==
197
 
 
 
 
198
  = 1.7 =
199
  * Fixed referrer issue
200
  * Added popup button to easily add popups on posts/pages
4
  Tags: popup,twitter,google+, facebook,Popups, twitter follow, facebook like, google plus,social boost, social splash, postmatic, mailpoet, facebook popup, scroll popups, popups, wordpress popup, wp popups, cf7, gf, gravity forms, contact form 7, ifs, infusion soft, subscribe, login popup, ajax login popups
5
  Requires at least: 3.6
6
  Tested up to: 4.7.1
7
+ Stable tag: 1.7.0.1
8
  Text Domain: popups
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
195
 
196
  == Changelog ==
197
 
198
+ = 1.7.0.1 =
199
+ * Left some debug code on previous release that can cause issues
200
+
201
  = 1.7 =
202
  * Fixed referrer issue
203
  * Added popup button to easily add popups on posts/pages
popups.php CHANGED
@@ -11,7 +11,7 @@
11
  * @socialpopup
12
  * Plugin Name: Popups - WordPress Popup
13
  * Plugin URI: http://www.timersys.com/free-plugins/social-popup/
14
- * Version: 1.7
15
  * Description: Most complete free Popups plugin, scroll triggered popups, compatible with social networks, Gravity Forms, Ninja Forms, Contact form 7, Mailpoet, Mailchimp for WP, Postmatic, etc
16
  * Author: Damian Logghe
17
  * Author URI: https://timersys.com
@@ -30,7 +30,7 @@ if ( ! defined( 'WPINC' ) ) {
30
  * Public-Facing Functionality
31
  *----------------------------------------------------------------------------*/
32
 
33
- define( 'SPU_VERSION' , '1.7' );
34
  define( 'SPU_PLUGIN_DIR' , plugin_dir_path(__FILE__) );
35
  define( 'SPU_PLUGIN_URL' , plugin_dir_url(__FILE__) );
36
  define( 'SPU_PLUGIN_HOOK' , basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
11
  * @socialpopup
12
  * Plugin Name: Popups - WordPress Popup
13
  * Plugin URI: http://www.timersys.com/free-plugins/social-popup/
14
+ * Version: 1.7.0.1
15
  * Description: Most complete free Popups plugin, scroll triggered popups, compatible with social networks, Gravity Forms, Ninja Forms, Contact form 7, Mailpoet, Mailchimp for WP, Postmatic, etc
16
  * Author: Damian Logghe
17
  * Author URI: https://timersys.com
30
  * Public-Facing Functionality
31
  *----------------------------------------------------------------------------*/
32
 
33
+ define( 'SPU_VERSION' , '1.7.0.1' );
34
  define( 'SPU_PLUGIN_DIR' , plugin_dir_path(__FILE__) );
35
  define( 'SPU_PLUGIN_URL' , plugin_dir_url(__FILE__) );
36
  define( 'SPU_PLUGIN_HOOK' , basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
public/includes/class-spu-rules.php CHANGED
@@ -370,12 +370,7 @@ class Spu_Rules
370
  $ref = $this->referrer;
371
 
372
  $internal = str_replace( array( 'http://','https://' ), '', site_url() );
373
- echo "<pre>";
374
- var_dump($internal);
375
- var_dump($ref);
376
- var_dump(preg_match( '~' . $internal . '~i', $ref ));
377
- echo "</pre>";
378
-
379
  if( $rule['operator'] == "==" ) {
380
 
381
  return !preg_match( '~' . $internal . '~i', $ref );
370
  $ref = $this->referrer;
371
 
372
  $internal = str_replace( array( 'http://','https://' ), '', site_url() );
373
+
 
 
 
 
 
374
  if( $rule['operator'] == "==" ) {
375
 
376
  return !preg_match( '~' . $internal . '~i', $ref );