Changeset 2483655
- Timestamp:
- 03/01/2021 04:00:40 PM (5 years ago)
- Location:
- quentn-wp/trunk
- Files:
-
- 4 edited
-
includes/class-quentn-wp-restrict-access.php (modified) (1 diff)
-
includes/class-quentn-wp.php (modified) (1 diff)
-
quentn-wp.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quentn-wp/trunk/includes/class-quentn-wp-restrict-access.php
r2371136 r2483655 282 282 //get already saved cookie value if dont find in url 283 283 if( empty( $get_access_emails ) ) { 284 285 284 $cookie_saved_data = $this->get_json_cookie( 'qntn_wp_access' ); 286 287 $get_access_emails = ( isset( $cookie_saved_data['access'][get_the_ID()] ) ) ? $cookie_saved_data['access'][get_the_ID()] : array(); 285 //get access emails of all pages from cookie 286 $get_all_access_emails = ( isset( $cookie_saved_data['access'] ) ) ? $cookie_saved_data['access'] : array(); 287 if ( ! empty( $get_all_access_emails ) ) { 288 foreach ( $get_all_access_emails as $get_access_page_emails ) { //loop through all access for each page 289 foreach ( $get_access_page_emails as $get_access_page_email ) { //each page can have multiple access emails, add all of them 290 $get_access_emails[] = $get_access_page_email; 291 } 292 } 293 } 288 294 } 289 295 return $get_access_emails; -
quentn-wp/trunk/includes/class-quentn-wp.php
r2441489 r2483655 75 75 $this->version = QUENTN_WP_VERSION; 76 76 } else { 77 $this->version = '1.1. 4';77 $this->version = '1.1.5'; 78 78 } 79 79 $this->plugin_name = 'quentn-wp'; -
quentn-wp/trunk/quentn-wp.php
r2441489 r2483655 17 17 * Plugin URI: https://docs.quentn.com/de/beta-quentn-wordpress-plugin/installieren-und-verbinden 18 18 * 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.1. 419 * Version: 1.1.5 20 20 * Author: Quentn.com GmbH 21 21 * Author URI: https://quentn.com/ … … 35 35 define( "TABLE_QUENTN_RESTRICTIONS", 'qntn_restrictions' ); 36 36 define( "TABLE_QUENTN_USER_DATA", 'qntn_user_data' ); 37 define( 'QUENTN_WP_VERSION', '1.1. 4' );37 define( 'QUENTN_WP_VERSION', '1.1.5' ); 38 38 39 39 /** -
quentn-wp/trunk/readme.txt
r2441489 r2483655 4 4 Requires at least: 4.6.0 5 5 Tested up to: 5.6 6 Stable tag: 1.1. 46 Stable tag: 1.1.5 7 7 Requires PHP: 5.6.0 8 8 License: GPLv2 or later … … 66 66 67 67 == Changelog == 68 = 1.1.5 = 69 * Improve the method of how cookie value is fetched to check page access permission. 70 68 71 = 1.1.4 = 69 72 * Fix: Elementor integration for WordPress version 5.6. … … 119 122 == Upgrade Notice == 120 123 124 = 1.1.5 = 125 Thanks for using Quentn Plugin! Please update the plugin to improve handling of page access permission. 126 121 127 = 1.1.4 = 122 128 Thanks for using Quentn Plugin! Please update the plugin to fix elementor integration for WordPress version 5.6.
Note: See TracChangeset
for help on using the changeset viewer.