We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Wp User Frontend 4.0.9
We found an issue with the Post content form field missing a closing div which results in breaking the layout when inserting post forms on a page.
The issue is in wp-user-frontend/includes/Fields/Form_Field_Post_Content.php in the render function.
From line 38: <?php if ( in_array( $field_settings['rich'], [ 'yes', 'teeny' ] ) ) { ?> <div class="wpuf-fields wpuf-rich-validation <?php printf( 'wpuf_%s_%s', esc_attr( $field_settings['name'] ), esc_attr( $form_id ) ); ?>" data-type="rich" data-required="<?php echo esc_attr( $field_settings['required'] ); ?>" data-id="<?php echo esc_attr( $field_settings['name'] ) . '_' . esc_attr( $form_id ); ?>" data-name="<?php echo esc_attr( $field_settings['name'] ); ?>"> <?php } else { ?> <div class="wpuf-fields"> <?php } ?>
<?php if ( in_array( $field_settings['rich'], [ 'yes', 'teeny' ] ) ) { ?> <div class="wpuf-fields wpuf-rich-validation <?php printf( 'wpuf_%s_%s', esc_attr( $field_settings['name'] ), esc_attr( $form_id ) ); ?>" data-type="rich" data-required="<?php echo esc_attr( $field_settings['required'] ); ?>" data-id="<?php echo esc_attr( $field_settings['name'] ) . '_' . esc_attr( $form_id ); ?>" data-name="<?php echo esc_attr( $field_settings['name'] ); ?>"> <?php } else { ?> <div class="wpuf-fields"> <?php } ?>
There is an opening <div> but it never closes in the render() function which breaks the layout.
<div>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
Wp User Frontend 4.0.9
We found an issue with the Post content form field missing a closing div which results in breaking the layout when inserting post forms on a page.
The issue is in wp-user-frontend/includes/Fields/Form_Field_Post_Content.php in the render function.
From line 38:
<?php if ( in_array( $field_settings['rich'], [ 'yes', 'teeny' ] ) ) { ?> <div class="wpuf-fields wpuf-rich-validation <?php printf( 'wpuf_%s_%s', esc_attr( $field_settings['name'] ), esc_attr( $form_id ) ); ?>" data-type="rich" data-required="<?php echo esc_attr( $field_settings['required'] ); ?>" data-id="<?php echo esc_attr( $field_settings['name'] ) . '_' . esc_attr( $form_id ); ?>" data-name="<?php echo esc_attr( $field_settings['name'] ); ?>"> <?php } else { ?> <div class="wpuf-fields"> <?php } ?>
There is an opening
<div>
but it never closes in the render() function which breaks the layout.The text was updated successfully, but these errors were encountered: