You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If updating a post's author and assigning a WP user (not a CAP guest author), the post_author field isn't updated even though the author taxonomy term is updated. Because the term is updated properly, the post will render with the correct author byline, but the post will not appear in any WP queries targeting the post_author ID or name. Verified in v3.5.6.
To replicate:
Publish a post assigned to the site's default author.
Using the CAP sidebar UI, add another WP user (not guest author) and remove the original author. Update the post.
View the post and observe that the new WP user is shown as the byline.
However, using WP CLI, get the post ($ wp post get <ID>) and observe that the post_author field still shows the default author's ID, not the second WP user's.
The text was updated successfully, but these errors were encountered:
I'm still able to replicate locally and on other staging sites. On some sites I had to repeat step 2 with another WP user before the post_author field got "stuck", but it's easily reproducible.
If updating a post's author and assigning a WP user (not a CAP guest author), the
post_author
field isn't updated even though theauthor
taxonomy term is updated. Because the term is updated properly, the post will render with the correct author byline, but the post will not appear in any WP queries targeting thepost_author
ID or name. Verified in v3.5.6.To replicate:
get
the post ($ wp post get <ID>
) and observe that thepost_author
field still shows the default author's ID, not the second WP user's.The text was updated successfully, but these errors were encountered: