Popups – WordPress Popup - Version 1.3.2.2

Version Description

  • new Facebook page js was not being loaded if you didn't have another popup with fb shortcode
Download this release

Release Info

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

Code changes from version 1.3.2.1 to 1.3.2.2

Files changed (3) hide show
  1. README.txt +4 -1
  2. admin/class-social-popup-admin.php +1 -1
  3. popups.php +2 -2
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
5
  Requires at least: 3.6
6
  Tested up to: 4.2.2
7
- Stable tag: 1.3.2.1
8
  Text Domain: spu
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -111,6 +111,9 @@ Yes if you need to debug you can use uncompressed javascript by addings ([this c
111
 
112
  == Changelog ==
113
 
 
 
 
114
  = 1.3.2.1 =
115
  * Comit failed and minified file wasn't uploaded
116
 
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
5
  Requires at least: 3.6
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.3.2.2
8
  Text Domain: spu
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
111
 
112
  == Changelog ==
113
 
114
+ = 1.3.2.2 =
115
+ * new Facebook page js was not being loaded if you didn't have another popup with fb shortcode
116
+
117
  = 1.3.2.1 =
118
  * Comit failed and minified file wasn't uploaded
119
 
admin/class-social-popup-admin.php CHANGED
@@ -444,7 +444,7 @@ class SocialPopup_Admin {
444
 
445
  // Check for social shortcodes and update post meta ( we check later if we need to enqueue any social js)
446
  $total_shortcodes =0;
447
- if( has_shortcode( $post->post_content, 'spu-facebook' ) ){
448
  $total_shortcodes++;
449
  update_post_meta( $post_id, 'spu_fb', true );
450
  } else {
444
 
445
  // Check for social shortcodes and update post meta ( we check later if we need to enqueue any social js)
446
  $total_shortcodes =0;
447
+ if( has_shortcode( $post->post_content, 'spu-facebook' ) || has_shortcode( $post->post_content, 'spu-facebook-page' ) ){
448
  $total_shortcodes++;
449
  update_post_meta( $post_id, 'spu_fb', true );
450
  } else {
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.3.2.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: http://wp.timersys.com
@@ -30,7 +30,7 @@ if ( ! defined( 'WPINC' ) ) {
30
  * Public-Facing Functionality
31
  *----------------------------------------------------------------------------*/
32
 
33
- define( 'SPU_VERSION' , '1.3.2.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__ ) );
11
  * @socialpopup
12
  * Plugin Name: Popups - WordPress Popup
13
  * Plugin URI: http://www.timersys.com/free-plugins/social-popup/
14
+ * Version: 1.3.2.2
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: http://wp.timersys.com
30
  * Public-Facing Functionality
31
  *----------------------------------------------------------------------------*/
32
 
33
+ define( 'SPU_VERSION' , '1.3.2.2' );
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__ ) );