Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#54532 closed task (blessed) (fixed)

gutenberg_*-functions called in blocks/navigation.php

Reported by: kebbet's profile kebbet Owned by:
Milestone: 5.9 Priority: normal
Severity: normal Version: 5.9
Component: Editor Keywords: needs-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

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

Change History (7)

#2 @desrosj
3 years ago

  • Milestone changed from Awaiting Review to 5.9

#3 @SergeyBiryukov
3 years ago

  • Description modified (diff)

This ticket was mentioned in Slack in #core by audrasjb. View the logs.


3 years ago

#5 @audrasjb
3 years ago

  • Type changed from defect (bug) to task (blessed)

Changing this ticket to a Task since it's currently handled upstream in Gutenberg.

This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.


3 years ago

#7 @noisysocks
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

https://github.com/WordPress/gutenberg/pull/37021 addressed this. It landed in Core in r52324.

Note: See TracTickets for help on using tickets.