Changeset 55276 for trunk/src/wp-content/themes/twentytwenty/searchform.php
- Timestamp:
- 02/07/2023 05:08:26 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/searchform.php
r50933 r55276 26 26 <form role="search" <?php echo $twentytwenty_aria_label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped above. ?> method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 27 27 <label for="<?php echo esc_attr( $twentytwenty_unique_id ); ?>"> 28 <span class="screen-reader-text"><?php _e( 'Search for:', 'twentytwenty' ); // phpcs:ignore: WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></span> 28 <span class="screen-reader-text"> 29 <?php 30 /* translators: Hidden accessibility text. */ 31 _e( 'Search for:', 'twentytwenty' ); // phpcs:ignore: WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations 32 ?> 33 </span> 29 34 <input type="search" id="<?php echo esc_attr( $twentytwenty_unique_id ); ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentytwenty' ); ?>" value="<?php echo get_search_query(); ?>" name="s" /> 30 35 </label>
Note: See TracChangeset
for help on using the changeset viewer.