[wp-trac] [WordPress Trac] #40878: Adding menus route

WordPress Trac noreply at wordpress.org
Mon Nov 8 01:19:04 UTC 2021


#40878: Adding menus route
-------------------------------------------------+-------------------------
 Reporter:  dingo_d                              |       Owner:
                                                 |  spacedmonkey
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  high                                 |   Milestone:  5.9
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:  rest-api
  note                                           |
-------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 Something probably worth noting is that while the menu endpoints are
 landing in 5.9 due to FSE, the new menu editing interface is not. So there
 wouldn't be any immediate BC breaks in this release if we stuck with
 `map_meta_cap` enabled for the menus CPT.

 I think taking away `edit_theme_options` from a user is probably something
 people want do? But I'm also not so sure how common that filter pattern
 would be because `edit_theme_options` is an actual capability, so it could
 be removed or filtered away with `user_has_cap`.

 I think I'd lean to keeping `map_meta_cap`.

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


More information about the wp-trac mailing list