Make WordPress Core


Ignore:
Timestamp:
03/20/2021 06:28:32 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add a space before / character in some self-closing HTML tags.

While this has no effect on the code, it fixes a minor inconsistency with the rest of core.

Props laxman-prajapati.
Fixes #52870.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php

    r49946 r50556  
    248248        $instance = wp_parse_args( (array) $instance, $this->default_instance );
    249249        ?>
    250         <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" class="title sync-input" type="hidden" value="<?php echo esc_attr( $instance['title'] ); ?>"/>
     250        <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" class="title sync-input" type="hidden" value="<?php echo esc_attr( $instance['title'] ); ?>" />
    251251        <textarea id="<?php echo $this->get_field_id( 'content' ); ?>" name="<?php echo $this->get_field_name( 'content' ); ?>" class="content sync-input" hidden><?php echo esc_textarea( $instance['content'] ); ?></textarea>
    252252        <?php
Note: See TracChangeset for help on using the changeset viewer.