Hello. Since upgrading to the current version of the Custom Post Types plugin… Everything seems fine when logged in as an Administrator, but when logged in as an Editor, four disruptive “Admin page registration was not successful” notices appear at the top of each screen in the backend. Rolling back reveals that the notices did not appear in version 4.0.8, so it appears to have been introduced in the version after that.
Based on what appears when “See registration args” is clicked in each notice, the args for each are all similar to this:
{ "id": "manage_template", "parent": "edit.php?post_type=manage_cpt", "order": null, "menu_icon": null, "title": "Templates", "content": "
This feature requires the <u>PRO version<\/u> and a valid license key.<\/strong><\/p></u>
<u>Get PRO version<\/a><\/p><\/div>", "admin_only": true }</u>
The affected screens seem to be “Tools & Infos” (id: “tools”), “Templates” (id: “manage_template”), “Admin Pages” (id: “manage_admin_pages”), and “Admin Notices” (id: “manage_admin_notices”).
We do not have a Pro license so we would not be making use of those screens regardless, but we don’t appear to have the ability to hide or disable them. I would imagine that there’s a conflict arising when the plugin attempts to register these “admin_only” pages for a non-Administrator user.
Is anyone able to replicate or provide a workaround to clear those notices? We were able to sweep it under the rug by upgrading the sole Editor user to Administrator, but it would be ideal to keep people’s permissions at the intended levels.