[wp-trac] [WordPress Trac] #13273: Allow "'non-clickable" menu items

WordPress Trac noreply at wordpress.org
Tue May 27 05:31:17 UTC 2025


#13273: Allow "'non-clickable" menu items
---------------------------------------+--------------------------------
 Reporter:  stgoos                     |       Owner:  (none)
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  6.9
Component:  Menus                      |     Version:  3.0
 Severity:  normal                     |  Resolution:
 Keywords:  needs-design dev-feedback  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------
Changes (by nikunj8866):

 * keywords:  needs-design => needs-design dev-feedback


Comment:

 Instead of immediately displaying the error message "Please provide a
 valid link." when a user submits an empty URL for a custom menu item, we
 could improve the UX by offering a confirmation prompt. The confirmation
 could inform users that a blank URL will result in a non-clickable menu
 item (useful for placeholder or parent menu purposes), and ask: **The URL
 is empty. This will create a non-clickable menu item. Are you sure you
 want to proceed?**

 This change would provide more clarity and flexibility for users
 intentionally adding placeholder menu items.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/13273#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list