HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/plugins/getwid/includes/templates/mailchimp/field-last-name.php
<?php
    $class = 'wp-block-getwid-field-last-name';
    $block_name = $class;
    if ( isset( $attributes[ 'className' ] ) ) {
        $class .= ' ' . $attributes[ 'className' ];
    }
    $uid = isset( $attributes[ 'id'   ] ) ? $attributes[ 'id' ] : 'name-' . uniqid();
    $label = isset( $attributes[ 'label' ] ) ? $attributes[ 'label' ] : __( 'Last name', 'getwid' );
?>
<p class='<?php echo esc_attr( $class );?>'><?php
    if ( ! empty( $label ) ) : ?>
        <label
            for='<?php echo esc_attr( $uid ); ?>'
            class='<?php echo esc_attr( $block_name . '__label' );?>'
        ><?php
            echo wp_kses_post( $label );
        ?></label>
    <?php endif; ?>

    <input id='<?php echo esc_attr( $uid ); ?>' type='text' name='last-name'<?php
        if ( isset( $attributes[ 'placeholder' ] ) ) { ?>
            placeholder='<?php echo esc_attr( $attributes[ 'placeholder' ] ); ?>' <?php
        } ?>
        <?php if ( isset( $attributes[ 'required' ] ) ) { ?>
            required=''
        <?php } ?>
    />
</p>