Skip to content

Comments

use WP_oEmbed singleton when working with providers#84

Merged
swissspidy merged 5 commits intowp-cli:mainfrom
justinmaurerdotdev:list-registered-providers
Jan 20, 2026
Merged

use WP_oEmbed singleton when working with providers#84
swissspidy merged 5 commits intowp-cli:mainfrom
justinmaurerdotdev:list-registered-providers

Conversation

@justinmaurerdotdev
Copy link
Contributor

Fixes #64.
The command was directly instantiating the WP_oEmbed class, which meant none of the registered providers were in the providers array.

@justinmaurerdotdev justinmaurerdotdev requested a review from a team as a code owner August 26, 2025 23:41
@codecov
Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy swissspidy added the command:embed Related to 'embed' command label Aug 27, 2025

This comment was marked as resolved.

swissspidy and others added 2 commits January 20, 2026 12:25
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@swissspidy

This comment was marked as resolved.

gemini-code-assist[bot]

This comment was marked as resolved.

@swissspidy swissspidy added this to the 2.1.1 milestone Jan 20, 2026
@swissspidy swissspidy merged commit fdbb75a into wp-cli:main Jan 20, 2026
44 checks passed
swissspidy added a commit that referenced this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:embed Related to 'embed' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include oEmbed endpoints introduced by plugins to the wp embed provider list

2 participants