Plugin Directory

Changeset 2619356


Ignore:
Timestamp:
10/25/2021 11:01:22 AM (4 years ago)
Author:
mahype
Message:

Update to version 1.0.16 from GitHub

Location:
torro-forms
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • torro-forms/tags/1.0.16/assets/src/languages/torro-forms.pot

    r2616402 r2619356  
    25312531msgid ""
    25322532"This text appears on top of a form and shows the user which fields are "
    2533 "required. The value has to cotain a %s to output the correct indicator."
     2533"required. The value has to contain a %s to output the correct indicator."
    25342534msgstr ""
    25352535
  • torro-forms/tags/1.0.16/readme.txt

    r2619349 r2619356  
    99Tested up to:      5.8.1
    1010Requires PHP:      5.6
    11 Stable tag:        1.0.15
    12 Version:           1.0.15
     11Stable tag:        1.0.16
     12Version:           1.0.16
    1313License:           GNU General Public License v2 (or later)
    1414License URI:       http://www.gnu.org/licenses/gpl-2.0.html
     
    8484== Changelog ==
    8585
    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.
    8891
    8992= 1.0.14 =
  • torro-forms/tags/1.0.16/src/modules/access-controls/user-identification.php

    r2120762 r2619356  
    5555        if ( $this->get_form_option( $form->id, 'prevent_edit_others_submission', true ) && $submission ) {
    5656            $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           
    6258            $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 ) ) {
    6468                if ( filter_has_var( INPUT_COOKIE, 'torro_identity' ) ) {
    6569                    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  
    8383                'type'         => 'text',
    8484                '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 cotain a %s to output the correct indicator.', 'torro-forms' ), //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
     85                '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
    8686                'default'      => $this->get_default_required_fields_text(),
    8787                'wrap_classes' => array( 'has-torro-tooltip-description' ),
  • torro-forms/tags/1.0.16/torro-forms.php

    r2619349 r2619356  
    1010 * Plugin URI:  https://torro-forms.com
    1111 * 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.15
     12 * Version:     1.0.16
    1313 * Author:      Awesome UG
    1414 * Author URI:  https://www.awesome.ug
  • torro-forms/trunk/assets/src/languages/torro-forms.pot

    r2616402 r2619356  
    25312531msgid ""
    25322532"This text appears on top of a form and shows the user which fields are "
    2533 "required. The value has to cotain a %s to output the correct indicator."
     2533"required. The value has to contain a %s to output the correct indicator."
    25342534msgstr ""
    25352535
  • torro-forms/trunk/readme.txt

    r2619349 r2619356  
    99Tested up to:      5.8.1
    1010Requires PHP:      5.6
    11 Stable tag:        1.0.15
    12 Version:           1.0.15
     11Stable tag:        1.0.16
     12Version:           1.0.16
    1313License:           GNU General Public License v2 (or later)
    1414License URI:       http://www.gnu.org/licenses/gpl-2.0.html
     
    8484== Changelog ==
    8585
    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.
    8891
    8992= 1.0.14 =
  • torro-forms/trunk/src/modules/access-controls/user-identification.php

    r2120762 r2619356  
    5555        if ( $this->get_form_option( $form->id, 'prevent_edit_others_submission', true ) && $submission ) {
    5656            $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           
    6258            $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 ) ) {
    6468                if ( filter_has_var( INPUT_COOKIE, 'torro_identity' ) ) {
    6569                    if ( esc_attr( filter_input( INPUT_COOKIE, 'torro_identity' ) ) !== $submission->user_key ) {
  • torro-forms/trunk/src/modules/form-settings/module.php

    r2093159 r2619356  
    8383                'type'         => 'text',
    8484                '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 cotain a %s to output the correct indicator.', 'torro-forms' ), //phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
     85                '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
    8686                'default'      => $this->get_default_required_fields_text(),
    8787                'wrap_classes' => array( 'has-torro-tooltip-description' ),
  • torro-forms/trunk/torro-forms.php

    r2619349 r2619356  
    1010 * Plugin URI:  https://torro-forms.com
    1111 * 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.15
     12 * Version:     1.0.16
    1313 * Author:      Awesome UG
    1414 * Author URI:  https://www.awesome.ug
Note: See TracChangeset for help on using the changeset viewer.