Skip to content

Media: Use core REST API for self-hosted Jetpack sites#25588

Open
crazytonyli wants to merge 3 commits into
trunkfrom
task/cmm-2007-media-api
Open

Media: Use core REST API for self-hosted Jetpack sites#25588
crazytonyli wants to merge 3 commits into
trunkfrom
task/cmm-2007-media-api

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

Description

Fixes: https://linear.app/a8c/issue/CMM-2007

The app always uses WP.com API for self-hosted Jetpack sites (fully connected to WP.com). This PR changes to use the core REST API if an application password is available.

…n self-hosted sites

Self-hosted sites (including Jetpack-connected ones) with an application
password now upload and manage media directly through their own REST API
instead of routing through the WordPress.com Jetpack proxy, which some hosts
block. WordPress.com Simple and Atomic sites continue using the WordPress.com
REST API so plan-based limits such as storage and video upload restrictions
stay enforced. Addresses CMM-2007 / CMM-1962.
@crazytonyli crazytonyli added this to the 27.0 milestone May 28, 2026
@crazytonyli crazytonyli requested a review from jkmassel May 28, 2026 00:34
@crazytonyli crazytonyli changed the title Use core REST API for self-hosted Jetpack sites Media: Use core REST API for self-hosted Jetpack sites May 28, 2026
@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number32358
VersionPR #25588
Bundle IDorg.wordpress.alpha
Commitbd39226
Installation URL11sh3lth7ogag
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number32358
VersionPR #25588
Bundle IDcom.jetpack.alpha
Commitbd39226
Installation URL3aj4465t5b3h0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants