Hi Tanner,
Great question. Let me outline the logic behind determining whether one key access the menu.
First check:
A test for the value of the “DISALLOW_FILE_EDIT” constant. If this is true, the editor can not be used. However this may be overwritten with the “aceide_override_disallow_file_edit” filter.
Second check:
Simple referrer check.
Third check:
If the site is multisite, the user must have the “manage_network_themes” capability. Otherwise, they require the “edit_plugins” capability.
By default, these capabilities are assigned to an administrator, or in the case of a multisite it is a super admin.
Thread Starter
Tanner
(@tannerchung)
Thanks Shane,
I made sure the User Role has edit_plugins, manage_network_themes, and manage_network_plugins capabilities but the menu is still being hidden for this User Role. Any other possibilities?
Hey Tanner,
Have a look in your wp-config.php for the following:
define(‘DISALLOW_FILE_EDIT”, true);
If this appears, it is the reason for the menu item not appearing.
Otherwise, I can only imagine this is a bizarre bug.
Thread Starter
Tanner
(@tannerchung)
Nope, it’s not in there. Do I need to provide you access to a server that displays this behavior?
I would definitely be interested in looking into this further. If you could facilitate this, I would definitely appreciate it.
Thread Starter
Tanner
(@tannerchung)
@shanept
I just carved out some time to clone the entire site. Did you want to take a look? Please let me know what email to provide you an account for.
Hi Tanner,
That’s wonderful! Thank you
me *at* shane *dot* pt
I look forward to hearing from you
Thread Starter
Tanner
(@tannerchung)
Hey Shane, I just sent you an email with a superadmin account to the staging site and provided instructions on how to see the issue.