Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Incorrect post_author value being set #14

Closed
danielbachhuber opened this Issue · 1 comment

1 participant

Daniel Bachhuber
Daniel Bachhuber

Sometimes, an editor will save or publish a post under different bylines and their user ID will be stored in the post_author field. This means that others' articles show up in their author listing page. Not exactly sure at this point where the code is breaking.

Daniel Bachhuber danielbachhuber closed this issue from a commit
Daniel Bachhuber danielbachhuber When quick editing a post, restore the post_author value as the first…
… co-author for the post (normal behavior). It was being set to the current user, which may or may not be an author on the post, because there was no post_author value in the $_REQUEST arguments and wp_insert_post() does an array_merge() with current user as the default value

Closes #14
c25a31b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.