edit_link only works for posts in draft mode
Issue #25
resolved
Attempting to follow your directions, for accomplishing a URL query variable, the edit link only appears in cases where the post is in draft mode. Otherwise, I get an empty string.
Here is my attempt:
do_action('gform_update_post/edit_link', array(
'post_id' => $post->ID,
'url' => home_url('/update-score-info/'),
'text' => $qMyScores->post->post_title
) );
In my test scenario, I am logged in as an author wishing to edit my own post. I should be able to do so whether in draft or published status. I don't know if it's a bug or something I'm not doing right.
Comments (2)
-
reporter -
reporter - changed status to resolved
Apologies. This is not an issue with this plugin. It's a role/capabilities issue on my end.
- Log in to comment
Apologies. This is not an issue with this plugin. It's a role/capabilities issue on my end.