From 6a0f3ddae31e10c1a6009f6a9852cbf4bc6e0a90 Mon Sep 17 00:00:00 2001 From: desrosj Date: Thu, 3 Oct 2019 20:03:56 +0000 Subject: [PATCH] Menus: Fix typo in the class attribute for the hidden `title` field in `Walker_Nav_Menu_Checklist`. Each item that `Walker_Nav_Menu_Checklist` displays is accompanied by several hidden `` fields that specify default values for each item when added to a menu. These values are passed in JavaScript to the AJAX call triggered when an item is added to a menu. The hidden field for the title attribute field incorrectly had an underscore instead of a hyphen. Because of this, it was impossible to supply a default value for the Title Attribute field of a nav menu item. Props yanngarcia, davidbaumwald. See #47838. Built from https://develop.svn.wordpress.org/trunk@46380 git-svn-id: http://core.svn.wordpress.org/trunk@46179 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-walker-nav-menu-checklist.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-walker-nav-menu-checklist.php b/wp-admin/includes/class-walker-nav-menu-checklist.php index 3cc4401884..81c088420c 100644 --- a/wp-admin/includes/class-walker-nav-menu-checklist.php +++ b/wp-admin/includes/class-walker-nav-menu-checklist.php @@ -113,7 +113,7 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu { $output .= ''; $output .= ''; $output .= ''; - $output .= ''; + $output .= ''; $output .= ''; $output .= ''; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a49050ddf4..aa2315b9dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta2-46379'; +$wp_version = '5.3-beta2-46380'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.