Home › Forums › ACF PRO › Submitted images not retrieved in acf_form › Reply To: Submitted images not retrieved in acf_form
Hi @beee
I’ve just checked your theme but couldn’t figure out what’s wrong with it. There are several places where the manage_options
capability is mentioned, though:
dvp/functions.php:141:
'capability' => 'manage_options',
dvp/inc/admin-columns.php:111:
if ( !current_user_can('manage_options') ) {
dvp/inc/acf.php:172:
if ( !current_user_can('manage_options') ) {
dvp/templates/profile.php:11:
if ( current_user_can('manage_options') ) {
dvp/page.php:28:
if ( current_user_can('manage_options') ) {
Maybe you can check them again.
I think setting manage_options
to the user role can create issues in the future, especially for plugins that don’t check the role, but only the capabilities.
Maybe you can add manage_options
as a temporary capability when someone is visiting the page. I’m not sure how it works, but I found something related here: http://wordpress.stackexchange.com/questions/53230/temporary-capability-for-current-user-can.
Because this topic is more related to WordPress, I suggest you visit WordPress community instead because they know better about the core functions than we are.
Thanks 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.