WordPress/gutenberg

Navigation Submenu block does not render menu item description

已關閉

#52,505 建立於 2023年7月11日

 (5 則留言) (2 個反應) (0 位負責人)JavaScript (3,893 個分叉)batch import
Good First Issue[Block] Navigation[Block] Submenu[Status] In Progress[Type] Bug

倉庫指標

星標
 (9,607 顆星)
PR 合併指標
 (平均合併 12天 18小時) (30 天內合併 509 個 PR)

描述

Description

Unlike Navigation Link block, the Navigation Submenu block does not render menu item description HTML.

Step-by-step reproduction instructions

  1. In site editor create a navigational menu.
  2. Add a submenu item(s) for one of the menu top level items.
  3. Set a "Description" field for (at least) one of the submenu items.
  4. Edit the parent (top level) menu item and set a "Description" field.
  5. Save the edits and check the front-end display → the description text is not rendered for the parent menu item. The HTML rendering description text is missing.

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 6.2.2
  • with and without Gutenberg 16.1.2

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

貢獻者指南