Changeset 53888 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 08/12/2022 12:09:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r53796 r53888 2355 2355 $checked_attribute = ( $html5 ? ' checked' : ' checked="checked"' ); 2356 2356 2357 // Identify required fields visually. 2358 $required_indicator = ' <span class="required" aria-hidden="true">*</span>'; 2357 // Identify required fields visually and create a message about the indicator. 2358 $required_indicator = ' ' . wp_required_field_indicator(); 2359 $required_text = ' ' . wp_required_field_message(); 2359 2360 2360 2361 $fields = array( … … 2420 2421 } 2421 2422 } 2422 2423 $required_text = sprintf(2424 /* translators: %s: Asterisk symbol (*). */2425 ' <span class="required-field-message" aria-hidden="true">' . __( 'Required fields are marked %s' ) . '</span>',2426 trim( $required_indicator )2427 );2428 2423 2429 2424 /**
Note: See TracChangeset
for help on using the changeset viewer.