Support

Account

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 🙂