mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Menus: Use correct parameter in _wp_nav_menu_meta_box_object().
Follow-up to [53220]. Props davidbaumwald. See #55327. git-svn-id: https://develop.svn.wordpress.org/trunk@53222 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user