Plugin Directory

Changeset 2205904

Timestamp:
12/04/2019 01:27:19 PM (5 years ago)
Author:
rxnlabs
Message:

Fixed bug where popups would not work with the Elementor pagebuilder plugin

Popups would show the page's content instead of showing the popup content on Elementor enabled pages. This would cause the popup to look really weird trying to load Elementor's HTML inside of the popup

Location:
wp-pop-up/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-pop-up/trunk/classes/class-wp-popup.php

    r2124870 r2205904  
    2020class WP_Popup {
    2121
    22 
    2322    /**
    2423     * Configuration object for the current popup
     
    155154
    156155        add_action( 'wp_footer', array( $this, 'footer' ) );
     156
    157157        add_action( 'wp_enqueue_scripts', array( $this, 'assets' ) );
    158158        add_action( 'admin_notices', array( $this, 'multiple_instances_admin_notice' ) );
     
    555555
    556556    /**
     557
     558
     559
     560
     561
     562
     563
     564
     565
     566
     567
     568
     569
     570
     571
     572
     573
     574
     575
     576
     577
     578
     579
     580
     581
     582
     583
     584
     585
    557586     * Loop through the possible CSS Rules to check if there's post_meta for it
    558587     */
  • wp-pop-up/trunk/readme.txt

    r2191054 r2205904  
    7070== Changelog ==
    7171
     72
     73
     74
    7275= 1.1.3 =
    7376* Fix minor styling issue with spinning loading gif in the admin.
  • wp-pop-up/trunk/wp-popup.php

    r2124871 r2205904  
    33Plugin Name: WP Pop-up
    44Description: Show a highly-configurable popup for your pages to encourage donations, actions. etc.
    5 Version: 1.1.3
     5Version: 1.1.
    66Author: Cornershop Creative
    77Author URI: https://cornershopcreative.com
     
    1414}
    1515
    16 define( 'WP_POPUP_VERSION', '1.1.3' );
     16$wp_popup_plugin_data = get_plugin_data( __FILE__, true );
     17define( 'WP_POPUP_VERSION', $wp_popup_plugin_data['Version'] );
     18// remove from global so we don't pollute global
     19unset( $wp_popup_plugin_data );
    1720
    1821require_once dirname( __FILE__ ) . '/classes/class-wp-popup.php';
Note: See TracChangeset for help on using the changeset viewer.