[wp-trac] [WordPress Trac] #55719: Better error message for sites using a FSE supporting theme when visiting the old navigation menus screen

WordPress Trac noreply at wordpress.org
Thu May 12 19:46:19 UTC 2022


#55719: Better error message for sites using a FSE supporting theme when visiting
the old navigation menus screen
--------------------------+-----------------------------
 Reporter:  desrosj       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  5.9
 Severity:  normal        |   Keywords:  2nd-opinion
  Focuses:                |
--------------------------+-----------------------------
 When a block theme that supports full site editing is active, the user
 will see 'Your theme does not support navigation menus or widgets.' when
 navigating to the old Navigation Menus screen (`wp-admin/nav-menus.php`).

 This `wp_die()` notice is triggered when `add_theme_support()` is not
 called for `menus` and `widgets` (which is the case for FSE themes).

 While this is accurate, it could be misleading for someone who was
 familiar with WordPress prior to block-based themes. A FSE theme still
 supports widgets and navigation menus, just through blocks. It's not
 unreasonable to assume some users will have this page bookmarked or that
 plugins will continue linking to this page for some time.

 This ticket is to consider whether a different error message should be
 displayed when `wp_is_block_theme()` is `true`, potentially including a
 link back to the admin or a resource about navigation menus and widgets in
 a block-ified WordPress.

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


More information about the wp-trac mailing list