Changeset 46090 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 09/11/2019 01:50:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r46088 r46090 2429 2429 $args = array_merge( $defaults, $args ); 2430 2430 2431 // Remove aria-describedby from the email field if there's no associated description. 2432 if ( false === strpos( $args['comment_notes_before'], 'id="email-notes"' ) ) { 2433 $args['fields']['email'] = str_replace( 2434 ' aria-describedby="email-notes"', 2435 '', 2436 $args['fields']['email'] 2437 ); 2438 } 2439 2431 2440 /** 2432 2441 * Fires before the comment form. … … 2510 2519 endif; 2511 2520 2512 // Prepare an array of all fields, including the textarea 2521 // Prepare an array of all fields, including the textarea. 2513 2522 $comment_fields = array( 'comment' => $args['comment_field'] ) + (array) $args['fields']; 2514 2523
Note: See TracChangeset
for help on using the changeset viewer.