[wp-trac] [WordPress Trac] #54532: gutenberg_*-functions called in blocks/navigation.php

WordPress Trac noreply at wordpress.org
Mon Nov 29 14:23:52 UTC 2021


#54532: gutenberg_*-functions called in blocks/navigation.php
--------------------------+-----------------------------
 Reporter:  kebbet        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 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`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54532>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list