Skip to content

Fix capabilities when creating Submenus #20

@walisc

Description

@walisc

Currently the is one capabilities wrapper, that is WP_PERMISSIONS::MANAGE_OPTIONS. Need to get a magic wrapper, that take the existing permission and create this wrapper consts. Also need to logic to combine capabilities and use that instead. Also, the capabilities cannot just be one value., must allow multiple. A suggestions will be to add Capabilities class, that takes a array for role/capabilities and evaluates correctly

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions