Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56254, comment 1


Ignore:
Timestamp:
08/20/2022 02:53:03 PM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56254, comment 1

    initial v1  
    44https://wordpress.org/support/forums/
    55
    6 However, I'll leave this ticket open for now. The undefined key is the [https://core.trac.wordpress.org/browser/tags/6.0.1/src/wp-admin/menu-header.php#L200 capability for a sub-menu item] in the side admin menu, and maybe the condition needs to check whether the key is set/non-empty before using `current_user_can()`.
     6However, I'll leave this ticket open for now. The undefined key is the user [https://core.trac.wordpress.org/browser/tags/6.0.1/src/wp-admin/menu-header.php#L200 capability needed to display a sub-menu item] in the side admin menu, and maybe the condition needs to check whether the key is set/non-empty before using `current_user_can()`.