Skip to content

Double output of everything in "Contact Form" field #150

@BayaroX

Description

@BayaroX

For example, if you write an "x" in the field "CONTACT FORM SHORTCODE", then "x x" is output on the page. If you enter a shortcode code from a contact form, this will also be displayed twice on the page.

The reason is that in "/tx-onepager/blocks/contacts/contact-1/view.php" an "echo" was forgotten (possibly for debugging reasons).
The code that must be removed to eliminate duplicate output is in line 90:
<?php echo do_shortcode( $contents['form'] ); ?>

As far as I know, the problem came with OnePager version 2.4.0 and is still present in version 2.4.1.

Kind regards,
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions