From 21310844e3c02c5e1622ed2a4d5632b76a3e2bdc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 29 Mar 2017 11:21:26 +0000 Subject: [PATCH] Taxonomy: Fix typo in `$aria_checked` variable name in `Walker_Category_Checklist::start_el()`. Props dhanendran. Fixes #40295. git-svn-id: https://develop.svn.wordpress.org/trunk@40348 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-walker-category-checklist.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-walker-category-checklist.php b/src/wp-admin/includes/class-walker-category-checklist.php index cd38bfcb41..966244eb78 100644 --- a/src/wp-admin/includes/class-walker-category-checklist.php +++ b/src/wp-admin/includes/class-walker-category-checklist.php @@ -84,18 +84,18 @@ class Walker_Category_Checklist extends Walker { $args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats']; if ( ! empty( $args['list_only'] ) ) { - $aria_cheched = 'false'; + $aria_checked = 'false'; $inner_class = 'category'; if ( in_array( $category->term_id, $args['selected_cats'] ) ) { $inner_class .= ' selected'; - $aria_cheched = 'true'; + $aria_checked = 'true'; } /** This filter is documented in wp-includes/category-template.php */ $output .= "\n" . '' . ''; } else { /** This filter is documented in wp-includes/category-template.php */