Repository navigation
REST API: Sync sites endpoint with core PR #13055 - #72
Merged
Merged
Conversation
…d network admins.
🔍 WordPress Plugin Check Report
📊 Report
|
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
169 |
WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::FILTER_MAX_SITES". |
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check
lloc
marked this pull request as ready for review
November 2, 2026 13:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync
wp/v2/siteswith WordPress core PR #13055 and harden itAligns the
RestSitesEndpointpatch with wordpress-develop#13055 (Trac #40365). The controller and the core tests are verbatim copies of the PR branch again.Changes
manage_sites. The "My Sites" exception for members is gone.homeandsiteurlmove along with a changed domain or path (mapped domains are kept).wp-login.phporrobots.txt.pathis required on subdirectory installs.idthat doesn't match the URL is rejected with 400.Breaking for API clients
%or non-ASCII characters can no longer be set.pathout instead.Testing
npm run test-php-core: 318 tests pass.npm run test-php-unit: 61 tests pass.Report
Known, not part of this PR
userfilter hides archived, spammed and deleted sites (get_blogs_of_user()without$all).