Make WordPress Core

Changeset 53222


Ignore:
Timestamp:
04/19/2022 03:57:57 PM (20 months ago)
Author:
SergeyBiryukov
Message:

Menus: Use correct parameter in _wp_nav_menu_meta_box_object().

Follow-up to [53220].

Props davidbaumwald.
See #55327.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r53220 r53222  
    993993 * @return object The post type or taxonomy object.
    994994 */
    995 function _wp_nav_menu_meta_box_object( $item_object = null ) {
     995function _wp_nav_menu_meta_box_object( $data_object = null ) {
    996996    if ( isset( $data_object->name ) ) {
    997997
Note: See TracChangeset for help on using the changeset viewer.