Nothing special with roles and capabilities that makes a new role not being able to see media, noting the below screenshots in the following environment:
– WordPress 5.9
– Media Library Organizer 1.3.9
– Members 3.1.7
Sitemanager role created by cloning Administrator role:
View post on imgur.com
View post on imgur.com
Media Library when logged in as a User assigned to Sitemanager role:
View post on imgur.com
Media Library when inserting an image into a Page as a User assigned to Sitemanager role, with a Category selected:
View post on imgur.com
You’re welcome to carefully debug your environment, in particular:
– Enabling debug.log, noting errors: https://wordpress.org/support/article/debugging-in-wordpress/
– Triple checking that your role truly matches the capabilities of an Administrator
– Deactivation of third party Plugins to produce a minimal environment where the issue is either reproducible or resolved
Hi,
Indeed, I found out the issue, which is not linked to the plugin. It appears that using the following in functions.php of the child theme prevent the access to medias in general (still don’t know why 🙁 )
add_action(‘admin_init’, ‘my_function’);
Anyway, thanks for your help 🙂