- Timestamp:
- 10/27/2020 01:58:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/searchform.php
r49216 r49320 19 19 $twentytwentyone_unique_id = wp_unique_id( 'search-form-' ); 20 20 21 $twentytwentyone_aria_label = ! empty( $args[' label'] ) ? 'aria-label="' . esc_attr( $args['label'] ) . '"' : '';21 $twentytwentyone_aria_label = ! empty( $args['aria_label'] ) ? 'aria-label="' . esc_attr( $args['aria_label'] ) . '"' : ''; 22 22 ?> 23 23 <form role="search" <?php echo $twentytwentyone_aria_label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped above. ?> method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
Note: See TracChangeset
for help on using the changeset viewer.