Skip to content

Prevent subsequent calls to updateEmbeds when there are no embeds#1081

Merged
colinodell merged 4 commits intothephpleague:2.7from
driesvints:patch-2
Jun 12, 2025
Merged

Prevent subsequent calls to updateEmbeds when there are no embeds#1081
colinodell merged 4 commits intothephpleague:2.7from
driesvints:patch-2

Conversation

@driesvints
Copy link
Contributor

@driesvints driesvints commented May 25, 2025

While working on uncovering #1078 I noticed that calls were made to updateEmbeds even if there aren't any embeds.

Prevent subsequent calls if there's no embeds.
@driesvints driesvints marked this pull request as ready for review May 25, 2025 19:15
@driesvints driesvints changed the title Update EmbedProcessor.php Prevent subsequent calls to updateEmbeds when there are no embeds. May 25, 2025
@driesvints driesvints changed the title Prevent subsequent calls to updateEmbeds when there are no embeds. Prevent subsequent calls to updateEmbeds when there are no embeds May 25, 2025
Copy link
Member

@colinodell colinodell left a comment

Choose a reason for hiding this comment

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

Thanks for catching and contributing this!

@colinodell colinodell merged commit b7b87c4 into thephpleague:2.7 Jun 12, 2025
17 of 18 checks passed
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