From b4d0da91f7564c3b954551604a2254bf5ebe14b8 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Fri, 28 Feb 2020 20:54:42 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty searchform.php error. Fixes phpcs error in the searchform.php file. The variables in this file were not prefixed correctly. Props fahimmurshed. Fixes #49523. git-svn-id: https://develop.svn.wordpress.org/trunk@47393 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/searchform.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/searchform.php b/src/wp-content/themes/twentytwenty/searchform.php index 027127b208..2acf8308b8 100644 --- a/src/wp-content/themes/twentytwenty/searchform.php +++ b/src/wp-content/themes/twentytwenty/searchform.php @@ -15,14 +15,14 @@ * Generate a unique ID for each form and a string containing an aria-label * if one was passed to get_search_form() in the args array. */ -$unique_id = twentytwenty_unique_id( 'search-form-' ); +$twentytwenty_unique_id = twentytwenty_unique_id( 'search-form-' ); -$aria_label = ! empty( $args['label'] ) ? 'aria-label="' . esc_attr( $args['label'] ) . '"' : ''; +$twentytwenty_aria_label = ! empty( $args['label'] ) ? 'aria-label="' . esc_attr( $args['label'] ) . '"' : ''; ?> -
method="get" class="search-form" action=""> -