Plugin Directory

Changeset 2830198


Ignore:
Timestamp:
12/07/2022 05:42:13 PM (3 years ago)
Author:
quentn
Message:

Test with new wordpress ( 6.1.1 ), Elementor ( 3.9.0 ) and Elemnetor PRO ( 3.9.0 ) versions

Location:
quentn-wp/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • quentn-wp/trunk/includes/class-quentn-wp-restrict-access.php

    r2640611 r2830198  
    5454     public function quentn_content_permission_check( $content ) {
    5555
    56          $m = new Mustache_Engine;
    57          $this->set_replacement_values();
    58          $content = $m->render($content, $this->get_replacement_values());
    59 
    60         //if user can edit posts permission or page restriction is not avtive, return content
    61         if( current_user_can( 'edit_pages' ) || ! $page_meta = $this->get_quentn_post_restrict_meta() ) {
     56       $m = new Mustache_Engine;
     57       $this->set_replacement_values();
     58       $content = $m->render($content, $this->get_replacement_values());
     59
     60       //if user can edit posts permission or page restriction is not avtive, return content
     61       if( current_user_can( 'edit_pages' ) || ! $page_meta = $this->get_quentn_post_restrict_meta() ) {
    6262            return $content;
    63         }
    64        define( 'DONOTCACHEPAGE', 1 ); // Do not cache this page
     63       }
     64
     65       // Do not cache this page
     66       if ( ! defined( 'DONOTCACHEPAGE' ) ) {
     67            define( 'DONOTCACHEPAGE', 1 );
     68       }
     69
    6570       $is_display_content = false;
    6671
  • quentn-wp/trunk/includes/class-quentn-wp.php

    r2702135 r2830198  
    7575            $this->version = QUENTN_WP_VERSION;
    7676        } else {
    77             $this->version = '1.2.3';
     77            $this->version = '1.2.4';
    7878        }
    7979        $this->plugin_name = 'quentn-wp';
  • quentn-wp/trunk/quentn-wp.php

    r2702135 r2830198  
    1717 * Plugin URI:        https://docs.quentn.com/de/beta-quentn-wordpress-plugin/installieren-und-verbinden
    1818 * Description:       This plugin allows you to restrict access to specific pages, create custom access links and create dynamic page countdowns. Optionally, you can connect your Quentn account to your WordPress installation to share contacts and manage access restrictions through Quentn.
    19  * Version:           1.2.3
     19 * Version:           1.2.4
    2020 * Author:            Quentn.com GmbH
    2121 * Author URI:        https://quentn.com/
     
    2424 * Text Domain:       quentn-wp
    2525 * Domain Path:       /languages
    26  * Elementor tested up to: 3.6.1
    27  * Elementor Pro tested up to: 3.6.4
     26 * Elementor tested up to: 3.9.0
     27 * Elementor Pro tested up to: 3.9.0
    2828 */
    2929
     
    3737define( "TABLE_QUENTN_RESTRICTIONS", 'qntn_restrictions' );
    3838define( "TABLE_QUENTN_USER_DATA", 'qntn_user_data' );
    39 define( 'QUENTN_WP_VERSION', '1.2.3' );
     39define( 'QUENTN_WP_VERSION', '1.2.4' );
    4040
    4141/**
  • quentn-wp/trunk/readme.txt

    r2702135 r2830198  
    33Tags: Quentn, countdown, page restriction, email, elementor integration, email marketing tool, integration, email automation, marketing automation
    44Requires at least: 4.6.0
    5 Tested up to: 5.9.2
    6 Stable tag: 1.2.3
     5Tested up to: 6.1.1
     6Stable tag: 1.2.4
    77Requires PHP: 5.6.0
    88License: GPLv2 or later
     
    6666
    6767== Changelog ==
     68= 1.2.4 =
     69* Test with new wordpress ( 6.1.1 ), Elementor ( 3.9.0 ) and Elemnetor PRO ( 3.9.0 ) versions.
     70
    6871= 1.2.3 =
    6972* Fix: Field mapping issues in Form widget of Elementor PRO
     
    147150== Upgrade Notice ==
    148151
     152= 1.2.4 =
     153Thanks for using Quentn Plugin! Please update the plugin. It is now tested with new wordpress ( 6.1.1 ), Elementor ( 3.9.0 ) and Elemnetor PRO ( 3.9.0 ) versions.
     154
    149155= 1.2.3 =
    150156Thanks for using Quentn Plugin! Please update the plugin to fix field mapping issues in form widget of Elementor PRO.
Note: See TracChangeset for help on using the changeset viewer.