Ticket #55717: 55717.diff
File 55717.diff, 931 bytes (added by , 2 years ago) |
---|
-
src/wp-includes/general-template.php
5031 5031 function wp_required_field_indicator() { 5032 5032 /* translators: Character to identify required form fields. */ 5033 5033 $glyph = __( '*' ); 5034 $indicator = '<span class="required" aria-hidden="true">' . esc_html( $glyph ) . '</span>';5034 $indicator = '<span class="required">' . esc_html( $glyph ) . '</span>'; 5035 5035 5036 5036 return $indicator; 5037 5037 } … … 5045 5045 */ 5046 5046 function wp_required_field_message() { 5047 5047 $message = sprintf( 5048 '<span class="required-field-message" aria-hidden="true">%s</span>',5048 '<span class="required-field-message">%s</span>', 5049 5049 /* translators: %s: Asterisk symbol (*). */ 5050 5050 sprintf( __( 'Required fields are marked %s' ), wp_required_field_indicator() ) 5051 5051 );