[wp-trac] [WordPress Trac] #54532: gutenberg_*-functions called in blocks/navigation.php
WordPress Trac
noreply at wordpress.org
Mon Nov 29 16:25:47 UTC 2021
#54532: gutenberg_*-functions called in blocks/navigation.php
--------------------------+---------------------
Reporter: kebbet | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+---------------------
Description changed by SergeyBiryukov:
Old 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`
New 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 [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`
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54532#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list