Changeset 2613305
- Timestamp:
- 10/12/2021 11:38:04 PM (4 years ago)
- Location:
- quentn-wp/trunk
- Files:
-
- 4 edited
-
includes/class-quentn-wp-elementor-integration.php (modified) (3 diffs)
-
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-elementor-integration.php
r2608554 r2613305 3 3 use Elementor\Controls_Manager; 4 4 use Elementor\Settings; 5 use Elementor\Repeater; 5 6 use ElementorPro\Modules\Forms\Classes\Form_Record; 7 use ElementorPro\Modules\Forms\Widgets\Form; 6 8 use ElementorPro\Modules\Forms\Module; 7 9 use QuentnWP\Admin\Utility\Helper; … … 165 167 ); 166 168 167 $widget->add_control( 168 'quentn_fields_map', 169 [ 170 'label' => __( 'Field Mapping', 'quentn-wp' ), 171 'type' => Quentn_Wp_Elementor_Field_Mapping::CONTROL_TYPE, 172 'separator' => 'before', 173 'fields' => [ 174 [ 175 'name' => 'local_id', 176 'type' => Controls_Manager::HIDDEN, 177 ], 178 [ 179 'name' => 'remote_id', 180 'type' => Controls_Manager::SELECT, 181 ], 182 ], 183 ] 184 ); 169 $this->register_quentn_fields_map_control( $widget ); 185 170 186 171 $widget->add_control( … … 241 226 ); 242 227 $widget->end_controls_section(); 228 } 229 230 private function register_quentn_fields_map_control( Form $form ) { 231 $repeater = new Repeater(); 232 233 $repeater->add_control( 'local_id', [ 'type' => Controls_Manager::HIDDEN ] ); 234 235 $repeater->add_control( 'remote_id', [ 'type' => Controls_Manager::SELECT ] ); 236 237 $fields_map_control_options = [ 238 'label' => __( 'Field Mapping', 'elementor-pro' ), 239 'type' => Quentn_Wp_Elementor_Field_Mapping::CONTROL_TYPE, 240 'separator' => 'before', 241 'fields' => $repeater->get_controls(), 242 ]; 243 244 if ( method_exists( $this,'get_fields_map_control_options' ) ) { 245 $fields_map_control_options = array_merge( $fields_map_control_options, $this->get_fields_map_control_options() ); 246 } 247 248 $form->add_control( $this->get_name() . '_fields_map', $fields_map_control_options ); 243 249 } 244 250 -
quentn-wp/trunk/includes/class-quentn-wp.php
r2608554 r2613305 75 75 $this->version = QUENTN_WP_VERSION; 76 76 } else { 77 $this->version = '1.1. 8';77 $this->version = '1.1.9'; 78 78 } 79 79 $this->plugin_name = 'quentn-wp'; -
quentn-wp/trunk/quentn-wp.php
r2608554 r2613305 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. 819 * Version: 1.1.9 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. 8' );37 define( 'QUENTN_WP_VERSION', '1.1.9' ); 38 38 39 39 /** -
quentn-wp/trunk/readme.txt
r2608554 r2613305 4 4 Requires at least: 4.6.0 5 5 Tested up to: 5.8 6 Stable tag: 1.1. 86 Stable tag: 1.1.9 7 7 Requires PHP: 5.6.0 8 8 License: GPLv2 or later … … 66 66 67 67 == Changelog == 68 = 1.1.9 = 69 * Fix: The styling bug when using the Form widget of Elementor PRO. 70 * Tweak: Improved method of loading field mapping in Form widget of Elementor PRO. 71 68 72 = 1.1.8 = 69 73 * Fixed minor issue how ternary operators used in Elementor integration. … … 131 135 == Upgrade Notice == 132 136 137 = 1.1.9 = 138 Thanks for using Quentn Plugin! Please update the plugin to fix the styling bug when using the Form widget of Elementor PRO 139 133 140 = 1.1.8 = 134 141 Thanks for using Quentn Plugin! Please update the plugin to fix ternary operator error in Elementor integration.
Note: See TracChangeset
for help on using the changeset viewer.