From eeb9f68181227bf46f4f5c52edbe2c009bd128ea Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 19 Apr 2022 15:59:10 +0000 Subject: [PATCH] Menus: Use correct parameter in `_wp_nav_menu_meta_box_object()`. Follow-up to [53220]. Props davidbaumwald. See #55327. Built from https://develop.svn.wordpress.org/trunk@53222 git-svn-id: http://core.svn.wordpress.org/trunk@52811 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/nav-menu.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index c5bc72c85e..ad8b04cff6 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -992,7 +992,7 @@ function wp_save_nav_menu_items( $menu_id = 0, $menu_data = array() ) { * @param object $data_object The post type or taxonomy meta-object. * @return object The post type or taxonomy object. */ -function _wp_nav_menu_meta_box_object( $item_object = null ) { +function _wp_nav_menu_meta_box_object( $data_object = null ) { if ( isset( $data_object->name ) ) { if ( 'page' === $data_object->name ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 151c939683..f0f56ce2de 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta1-53221'; +$wp_version = '6.0-beta1-53222'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.