WordPress.org

Make WordPress Core

Ticket #21064: 21064.3.patch

File 21064.3.patch, 841 bytes (added by lancewillett, 6 years ago)

Fixes closing label tag

  • wp-includes/default-widgets.php

     
    619619                <input id="<?php echo $this->get_field_id( 'number' ); ?>" name="<?php echo $this->get_field_name( 'number' ); ?>" type="text" value="<?php echo $number; ?>" size="3" /></p>
    620620
    621621                <p><input class="checkbox" type="checkbox" <?php checked( $show_date ); ?> id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" />
    622                 <label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Display post date?' ); ?></p>
     622                <label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Display post date?' ); ?></label></p>
    623623<?php
    624624        }
    625625}