• JT

    (@jackietaferner)


    Not sure if anyone else had this problem, but on my site the forms weren’t showing up for my users with edit_posts capability. I noticed a change from v1.2.18 to v1.2.23 which affects those user roles.

    So I changed this line (1240):
    $capability = ( 'page' == $post_type ) ? 'edit_page' : 'edit_post';

    back to this:
    $capability = ( 'page' == $post_type ) ? 'edit_pages' : 'edit_posts';

    That seemed to fix the issue. Hope that helps someone else!

    https://ww.wp.xz.cn/plugins/gravity-forms-post-updates/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks!

    Hey can you tell me this:

    I’m using the shortcode [gform_update_post_edit_link] to display the edit post link. It shows up for admins only. By default is it showing up for admins only or for anyone who has editing capabilities?

    I need to use this plugin in a scenario where say 10 users have their own posts with editing capabilities for their own posts, and therefore edit links for them. Will the shortcode provide me with what I want?

    I think there should some filter to check the submission is done by the post created person or not by checking the post_authour and get_current_user_id(),,, For my case also i need this functionality

    I’ve spent so much time trying to get that Edit link to show.
    Thanks @jackietaferner!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘User role issues’ is closed to new replies.