Skip to content

3 gutenberg_-functions called in wp-trunk (blocks/navigation.php) #36962

@kebbet

Description

@kebbet

Description

There are three instances in the navigation block where gutenberg_-functions are called. They should be replaced with their correct function name, and be fixed upstream. Introduced in https://core.trac.wordpress.org/changeset/52069.

File: /src/wp-includes/blocks/navigation.php
L176: gutenberg_get_menu_items_at_location
L181: gutenberg_sort_menu_items_by_parent_id
L182: gutenberg_parse_blocks_from_menu_items

A ticket for the same issue has been created in the WordPress trac system. https://core.trac.wordpress.org/ticket/54532

Step-by-step reproduction instructions

The functions seems to exist in trunk but under other names, such as _wp_get_*

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Block] NavigationAffects the Navigation Block[Status] In ProgressTracking issues with work in progress[Type] TaskIssues or PRs that have been broken down into an individual action to take

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions