Make WordPress Core

Ticket #55717: 55717.diff

File 55717.diff, 931 bytes (added by sabernhardt, 22 months ago)

refreshing after r53888

  • src/wp-includes/general-template.php

     
    50315031function wp_required_field_indicator() {
    50325032        /* translators: Character to identify required form fields. */
    50335033        $glyph     = __( '*' );
    5034         $indicator = '<span class="required" aria-hidden="true">' . esc_html( $glyph ) . '</span>';
     5034        $indicator = '<span class="required">' . esc_html( $glyph ) . '</span>';
    50355035
    50365036        return $indicator;
    50375037}
     
    50455045 */
    50465046function wp_required_field_message() {
    50475047        $message = sprintf(
    5048                 '<span class="required-field-message" aria-hidden="true">%s</span>',
     5048                '<span class="required-field-message">%s</span>',
    50495049                /* translators: %s: Asterisk symbol (*). */
    50505050                sprintf( __( 'Required fields are marked %s' ), wp_required_field_indicator() )
    50515051        );