Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROD-7687: Fixed blog and CPT post video embed issue in activity feed #4501

Open
wants to merge 3 commits into
base: release
Choose a base branch
from

Conversation

surajkrsingh
Copy link
Contributor

Jira Issue:

https://buddyboss.atlassian.net/browse/PROD-7687

General Note

Keep all conversations related to this PR in the associated Jira issue(s). Do NOT add comment on this PR or edit this PR’s description.

Notes to Developer

  • Ensure the IDs (i.e. PROD-1) of all associated Jira issues are reference in this PR’s title
  • Ensure that you have achieved the Definition of Done before submitting for review
  • When this PR is ready for review, move the associate Jira issue(s) to “Needs Review” (or “Code Review” for Dev Tasks)

Notes to Reviewer

  • Ensure that the Definition of Done have been achieved before approving a PR
  • When this PR is approved, move the associated Jira issue(s) to “Needs QA” (or “Approved” for Dev Tasks)

@surajkrsingh surajkrsingh self-assigned this Sep 11, 2024
@surajkrsingh surajkrsingh added the status-needs-review PR that needs review. label Sep 11, 2024
Comment on lines 345 to 347
if ( is_object( $type ) && ! empty( $type->component ) && 'blogs' === $type->component ) {
$link_embed = true;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@surajkrsingh
The $link_embed variable is set to true even when a blog post doesn't contain any embeds. Please investigate and fix the condition that determines the value of $link_embed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status-needs-review PR that needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants