Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40878, comment 70


Ignore:
Timestamp:
11/09/2021 03:31:22 AM (3 years ago)
Author:
dlh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40878, comment 70

    initial v1  
    11I was curious whether backwards compatibility could be maintained while using `map_meta_cap => true` through a pattern used elsewhere in core whereby `map_meta_cap()` is called twice, in this case by mapping `edit_theme_options`.
    22
    3 For the post type, the steps might be to, first, register `nav_menu_items` with:
     3For the post type, the steps might be to, first, register `nav_menu_item` with:
    44
    55{{{