-
Bug
-
Resolution: Fixed
-
Minor
-
4.4
-
WP Sprint 2024-I2.1 (Clones)
In the main page admin/user.php we're initialising the admin page using method admin_externalpage_setup where the check_access() is performed based on the req_capabilities sent when we add an external page into the admin tree using admin_externalpage API.
Then couple of lines later in the same file we are checking again the same capabilities.
Probably we could remove the lastest since we have a previous checking
This change is also required for workplace because we make some overrides on the settings page in order to make it suitable when using multitenancy, so this extra check breaks the implementation.