Skip to content

Fix Error when Author is Null#146

Merged
chrisjtang merged 6 commits into
masterfrom
issue-140
Jun 24, 2025
Merged

Fix Error when Author is Null#146
chrisjtang merged 6 commits into
masterfrom
issue-140

Conversation

@chrisjtang
Copy link
Copy Markdown
Contributor

Description

Added some safeguards and default values if the Post's author is null.

Motivation and Context

#140

How Has This Been Tested?

Added unit test for comment_data_from_post function

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • All new and existing tests passed.

@chrisjtang chrisjtang self-assigned this Jun 23, 2025
@chrisjtang chrisjtang requested a review from tail June 23, 2025 21:36
Comment thread disqus/rest-api/class-disqus-rest-api.php Outdated
@chrisjtang chrisjtang merged commit fdf413b into master Jun 24, 2025
159 of 240 checks passed
@chrisjtang chrisjtang deleted the issue-140 branch June 24, 2025 18:38
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