Changeset 2619356
- Timestamp:
- 10/25/2021 11:01:22 AM (4 years ago)
- Location:
- torro-forms
- Files:
-
- 10 edited
- 1 copied
-
tags/1.0.16 (copied) (copied from torro-forms/trunk)
-
tags/1.0.16/assets/src/languages/torro-forms.pot (modified) (1 diff)
-
tags/1.0.16/readme.txt (modified) (2 diffs)
-
tags/1.0.16/src/modules/access-controls/user-identification.php (modified) (1 diff)
-
tags/1.0.16/src/modules/form-settings/module.php (modified) (1 diff)
-
tags/1.0.16/torro-forms.php (modified) (1 diff)
-
trunk/assets/src/languages/torro-forms.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/modules/access-controls/user-identification.php (modified) (1 diff)
-
trunk/src/modules/form-settings/module.php (modified) (1 diff)
-
trunk/torro-forms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
torro-forms/tags/1.0.16/assets/src/languages/torro-forms.pot
r2616402 r2619356 2531 2531 msgid "" 2532 2532 "This text appears on top of a form and shows the user which fields are " 2533 "required. The value has to co tain a %s to output the correct indicator."2533 "required. The value has to contain a %s to output the correct indicator." 2534 2534 msgstr "" 2535 2535 -
torro-forms/tags/1.0.16/readme.txt
r2619349 r2619356 9 9 Tested up to: 5.8.1 10 10 Requires PHP: 5.6 11 Stable tag: 1.0.1 512 Version: 1.0.1 511 Stable tag: 1.0.16 12 Version: 1.0.16 13 13 License: GNU General Public License v2 (or later) 14 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 84 84 == Changelog == 85 85 86 = 1.0.14 = 87 * Enhanced: Fixed deployent issue. 86 = 1.0.16 = 87 * Fixed: Logical error in 'can_access' function. Thanks to reedsutliff! 88 89 = 1.0.15 = 90 * Fixed: Deployment issue. 88 91 89 92 = 1.0.14 = -
torro-forms/tags/1.0.16/src/modules/access-controls/user-identification.php
r2120762 r2619356 55 55 if ( $this->get_form_option( $form->id, 'prevent_edit_others_submission', true ) && $submission ) { 56 56 $others_submission_error = new WP_Error( 'others_submission', __( 'You do not have access to this form submission.', 'torro-forms' ) ); 57 58 if ( is_user_logged_in() && ! empty( $submission->user_id ) && get_current_user_id() !== $submission->user_id ) { 59 return $others_submission_error; 60 } 61 57 62 58 $skip_further_checks = false; 63 if ( ! empty( $submission->user_key ) ) { 59 if ( is_user_logged_in() && ! empty( $submission->user_id )) { 60 if(get_current_user_id() !== $submission->user_id ) { 61 return $others_submission_error; 62 } else { 63 $skip_further_checks = true; 64 } 65 } 66 67 if ( ! $skip_further_checks && ! empty( $submission->user_key ) ) { 64 68 if ( filter_has_var( INPUT_COOKIE, 'torro_identity' ) ) { 65 69 if ( esc_attr( filter_input( INPUT_COOKIE, 'torro_identity' ) ) !== $submission->user_key ) { -
torro-forms/tags/1.0.16/src/modules/form-settings/module.php
r2093159 r2619356 83 83 'type' => 'text', 84 84 'label' => __( 'Required fields text', 'torro-forms' ), 85 'description' => __( 'This text appears on top of a form and shows the user which fields are required. The value has to co tain a %s to output the correct indicator.', 'torro-forms' ), //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment85 'description' => __( 'This text appears on top of a form and shows the user which fields are required. The value has to contain a %s to output the correct indicator.', 'torro-forms' ), //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment 86 86 'default' => $this->get_default_required_fields_text(), 87 87 'wrap_classes' => array( 'has-torro-tooltip-description' ), -
torro-forms/tags/1.0.16/torro-forms.php
r2619349 r2619356 10 10 * Plugin URI: https://torro-forms.com 11 11 * Description: Torro Forms is an extendable WordPress form builder with Drag & Drop functionality, chart evaluation and more - with WordPress look and feel. 12 * Version: 1.0.1 512 * Version: 1.0.16 13 13 * Author: Awesome UG 14 14 * Author URI: https://www.awesome.ug -
torro-forms/trunk/assets/src/languages/torro-forms.pot
r2616402 r2619356 2531 2531 msgid "" 2532 2532 "This text appears on top of a form and shows the user which fields are " 2533 "required. The value has to co tain a %s to output the correct indicator."2533 "required. The value has to contain a %s to output the correct indicator." 2534 2534 msgstr "" 2535 2535 -
torro-forms/trunk/readme.txt
r2619349 r2619356 9 9 Tested up to: 5.8.1 10 10 Requires PHP: 5.6 11 Stable tag: 1.0.1 512 Version: 1.0.1 511 Stable tag: 1.0.16 12 Version: 1.0.16 13 13 License: GNU General Public License v2 (or later) 14 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 84 84 == Changelog == 85 85 86 = 1.0.14 = 87 * Enhanced: Fixed deployent issue. 86 = 1.0.16 = 87 * Fixed: Logical error in 'can_access' function. Thanks to reedsutliff! 88 89 = 1.0.15 = 90 * Fixed: Deployment issue. 88 91 89 92 = 1.0.14 = -
torro-forms/trunk/src/modules/access-controls/user-identification.php
r2120762 r2619356 55 55 if ( $this->get_form_option( $form->id, 'prevent_edit_others_submission', true ) && $submission ) { 56 56 $others_submission_error = new WP_Error( 'others_submission', __( 'You do not have access to this form submission.', 'torro-forms' ) ); 57 58 if ( is_user_logged_in() && ! empty( $submission->user_id ) && get_current_user_id() !== $submission->user_id ) { 59 return $others_submission_error; 60 } 61 57 62 58 $skip_further_checks = false; 63 if ( ! empty( $submission->user_key ) ) { 59 if ( is_user_logged_in() && ! empty( $submission->user_id )) { 60 if(get_current_user_id() !== $submission->user_id ) { 61 return $others_submission_error; 62 } else { 63 $skip_further_checks = true; 64 } 65 } 66 67 if ( ! $skip_further_checks && ! empty( $submission->user_key ) ) { 64 68 if ( filter_has_var( INPUT_COOKIE, 'torro_identity' ) ) { 65 69 if ( esc_attr( filter_input( INPUT_COOKIE, 'torro_identity' ) ) !== $submission->user_key ) { -
torro-forms/trunk/src/modules/form-settings/module.php
r2093159 r2619356 83 83 'type' => 'text', 84 84 'label' => __( 'Required fields text', 'torro-forms' ), 85 'description' => __( 'This text appears on top of a form and shows the user which fields are required. The value has to co tain a %s to output the correct indicator.', 'torro-forms' ), //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment85 'description' => __( 'This text appears on top of a form and shows the user which fields are required. The value has to contain a %s to output the correct indicator.', 'torro-forms' ), //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment 86 86 'default' => $this->get_default_required_fields_text(), 87 87 'wrap_classes' => array( 'has-torro-tooltip-description' ), -
torro-forms/trunk/torro-forms.php
r2619349 r2619356 10 10 * Plugin URI: https://torro-forms.com 11 11 * Description: Torro Forms is an extendable WordPress form builder with Drag & Drop functionality, chart evaluation and more - with WordPress look and feel. 12 * Version: 1.0.1 512 * Version: 1.0.16 13 13 * Author: Awesome UG 14 14 * Author URI: https://www.awesome.ug
Note: See TracChangeset
for help on using the changeset viewer.