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
This commit is contained in:
parent
5892153992
commit
eeb9f68181
|
@ -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 ) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue