Normally it works properly, so there must be something (like another plugin or theme) that is interfering with normal functionality. Best advice is to temporarily disable all other plugins and re-test. Alternately you could set up a new WP install, leave everything at defaults (plugins, theme, settings), and try again with only USP.
Hi @herky-fishbine, just wanted to follow up with this. It’s been awhile with no reply, so I hope the issue is resolved? Or if there is anything I can do to help, please let me know. Thank you.
Hi Jeff,
Here is what I found:
The edit link appears in notification emails if the form was submitted by a logged-in administrator.
If the form was submitted by a logged-in non-administrator or a logged-out user, the edit link is not shown in the email.
I hope this helps.
Yeah that makes sense. Because users without sufficient capabilities are allowed to edit posts. So it’s how it should work. Unless I am missing something..?
It seems like it should depend on the recipient’s role, not the senders.
If an admin is receiving the notification, he should be able to see the edit link (convenient to approve posts that are initially submitted as pending), regardless of the submiter’s role.
Yes?
Yes that makes way more sense. I’ll change it so that the plugin includes the edit link regardless of who submits the post. Even if some alerts are configured to send to non-registered users, the edit links still require a password to access. So great idea, thank you Herky.
Cool! Glad to have helped.
Just to follow up with this. In the next version of USP (20200817), the %%edit_link%%
shortcode now returns an edit link for all users, whether logged in or not. Thanks again for your feedback, Herky.
-
This reply was modified 4 years ago by Jeff Starr. Reason: adds info
Hey, that’s great, Jeff. Thanks!