Incorrect post_author value being set #14

Closed
danielbachhuber opened this Issue Feb 23, 2012 · 1 comment

Projects

None yet

1 participant

@danielbachhuber

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.

@danielbachhuber danielbachhuber added a commit that closed this issue Mar 7, 2012
@danielbachhuber 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