Skip to content

Conversation

@rollybueno
Copy link

Summary

This PR fixes an issue where bbp_get_reply_revision_log() and bbp_get_topic_revision_log() would always display the original revision author, even if a different author was set in the revision log meta.

Details

  • The functions now check for an author value in the revision log meta for each revision.
  • If present, the log displays the name and link for the meta author; otherwise, it falls back to the original revision's post_author.
  • This allows filters (such as on bbp_get_reply_raw_revision_log) to override the displayed author for moderation or other purposes.

References

@JJJ
Copy link
Contributor

JJJ commented Nov 16, 2025

This isn't quite right, as other bugs are in the way here.

  • link_text is not a valid argument in bbp_get_author_link() so it will always fallback
  • the $author_id should not be passed into post_id

Fixing this properly will likely require a new function that accepts an author ID instead of a post ID.

@JJJ JJJ closed this Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants