Author changes automatically when editing posts
-
Hello,
I’m using your Frontend Post Submission Manager plugin so that users can submit custom posts from the frontend (in my case, a CPT called “Cards”).
I’ve noticed an issue:
When a user (subscriber role) submits a Card from the frontend, it is correctly assigned to their account. However, if I, as an administrator, edit that Card from the WordPress admin panel, thepost_authoris automatically changed to the administrator, even if I don’t make any changes related to the author.This causes:
- The Card to disappear from the subscriber’s dashboard (because they are no longer the author).
This is not the default behavior in WordPress, since normally editing a post should not change the author unless it is modified manually.
Could you please review this behavior and adjust the plugin so that the
post_authoris only assigned when creating the post, and not changed when editing it? This would prevent posts from being reassigned to the administrator when edited.Thank you in advance for your help.
Best regards
The topic ‘Author changes automatically when editing posts’ is closed to new replies.