From 7f26b262b20bc1aa991839b772857ccd52f241d6 Mon Sep 17 00:00:00 2001 From: ianbelanger Date: Fri, 28 Feb 2020 20:56:06 +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. Built from https://develop.svn.wordpress.org/trunk@47393 git-svn-id: http://core.svn.wordpress.org/trunk@47180 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/searchform.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-content/themes/twentytwenty/searchform.php b/wp-content/themes/twentytwenty/searchform.php index 027127b208..2acf8308b8 100644 --- a/wp-content/themes/twentytwenty/searchform.php +++ b/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=""> -