Changeset 54136
- Timestamp:
- 09/12/2022 09:50:57 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r53904 r54136 5025 5025 /* translators: Character to identify required form fields. */ 5026 5026 $glyph = __( '*' ); 5027 $indicator = '<span class="required" aria-hidden="true">' . esc_html( $glyph ) . '</span>';5027 $indicator = '<span class="required">' . esc_html( $glyph ) . '</span>'; 5028 5028 5029 5029 return $indicator; … … 5039 5039 function wp_required_field_message() { 5040 5040 $message = sprintf( 5041 '<span class="required-field-message" aria-hidden="true">%s</span>',5041 '<span class="required-field-message">%s</span>', 5042 5042 /* translators: %s: Asterisk symbol (*). */ 5043 5043 sprintf( __( 'Required fields are marked %s' ), wp_required_field_indicator() )
Note: See TracChangeset
for help on using the changeset viewer.