Changeset 49356 for branches/5.5/src/wp-includes/general-template.php
- Timestamp:
- 10/28/2020 05:07:18 PM (5 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
-
branches/5.5/src/wp-includes/general-template.php
r48922 r49356 282 282 $args = apply_filters( 'search_form_args', $args ); 283 283 284 // Ensure that the filtered arguments contain all required default values. 285 $args = array_merge( $defaults, $args ); 286 284 287 $format = current_theme_supports( 'html5', 'search-form' ) ? 'html5' : 'xhtml'; 285 288 … … 304 307 } else { 305 308 // Build a string containing an aria-label to use for the search form. 306 if ( isset( $args['aria_label'] ) &&$args['aria_label'] ) {309 if ( $args['aria_label'] ) { 307 310 $aria_label = 'aria-label="' . esc_attr( $args['aria_label'] ) . '" '; 308 311 } else {
Note: See TracChangeset
for help on using the changeset viewer.