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

Embeds: only revert to URL if there is one #975

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

mattwiebe
Copy link
Contributor

Saw a burst of warnings like:

[08-Nov-2024 16:50:11 UTC] Warning: Undefined array key "url" in wp-content/plugins/activitypub/includes/transformer/class-post.php on line 1074

Although I couldn't replicate on the site in question, it's probably just an embed block with no URL set. This should stop that.

@mattwiebe mattwiebe self-assigned this Nov 8, 2024
@pfefferle
Copy link
Member

Makes sense!

@mattwiebe mattwiebe merged commit 354129b into trunk Nov 8, 2024
21 checks passed
@mattwiebe mattwiebe deleted the fix/embed-no-url-warnings branch November 8, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants