mtekk / Breadcrumb-NavXT

The longest maintained Breadcrumb plugin for WordPress
https://mtekk.us/code/breadcrumb-navxt
51 stars 25 forks source link

Fix Assignment of bcn_manage_options Capability #269

Closed mtekk closed 2 years ago

mtekk commented 2 years ago

This code used to work in 6.6.0, however, in adminKit 3.0, the introduction of namespacing borked the check against WP_Role, causing the capability to not get added to the administrator role. Users that had previously installed 6.6.0 did not see an issue due to WordPress caching capabilities assigned to a role.