Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
WordPress
/
wordpress-develop
Public
Notifications
You must be signed in to change notification settings
Fork
3.7k
Star
3.5k
Code
Pull requests
3.4k
Actions
Security and quality
43
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
REST API endpoints for sites
- #13055
#13055
Open
lloc
wants to merge 46 commits into
WordPress:trunk
WordPress/wordpress-develop:trunk
from
lloc:feature/40365-rest-sites-endpoint
lloc/wordpress-develop:feature/40365-rest-sites-endpoint
Copy head branch name to clipboard
Conversation
Commits
46
(46)
Checks
Files changed
Open
REST API endpoints for sites
#13055
lloc
wants to merge 46 commits into
WordPress:trunk
WordPress/wordpress-develop:trunk
from
lloc:feature/40365-rest-sites-endpoint
lloc/wordpress-develop:feature/40365-rest-sites-endpoint
Copy head branch name to clipboard
Commits
Commits on Aug 14, 2026
REST API endpoints for sites
lloc
committed
225beea
View commit details
Copy full SHA for 225beea
Browse repository at this point
Commits on Aug 19, 2026
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
lloc
authored
088f7b7
View commit details
Copy full SHA for 088f7b7
Browse repository at this point
Commits on Aug 20, 2026
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
lloc
authored
5c7205d
View commit details
Copy full SHA for 5c7205d
Browse repository at this point
Commits on Aug 22, 2026
REST API: Add sites endpoints
Show description for cc81250
lloc
committed
cc81250
View commit details
Copy full SHA for cc81250
Browse repository at this point
Commits on Aug 26, 2026
REST API: Drop is_super_admin() from sites checks
lloc
committed
b447451
View commit details
Copy full SHA for b447451
Browse repository at this point
Commits on Aug 27, 2026
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
lloc
authored
b3ff7ed
View commit details
Copy full SHA for b3ff7ed
Browse repository at this point
Commits on Aug 28, 2026
Tests: Add unit tests for WP_REST_Site_Meta_Fields functionality
spacedmonkey
committed
375b136
View commit details
Copy full SHA for 375b136
Browse repository at this point
Tests: Rename rest-sites-controller.php to wpRestSitesController.php and add missing group annotations
spacedmonkey
committed
b7a51db
View commit details
Copy full SHA for b7a51db
Browse repository at this point
Commits on Sep 2, 2026
Merge pull request #1 from spacedmonkey/feature/40365-rest-sites-endpoint-tests
Show description for 0197d37
lloc
authored
0197d37
View commit details
Copy full SHA for 0197d37
Browse repository at this point
Merge pull request #2 from spacedmonkey/feature/40365-rest-sites-endpoint-more-tests
Show description for 829c066
lloc
authored
829c066
View commit details
Copy full SHA for 829c066
Browse repository at this point
Commits on Sep 4, 2026
Enhance site deletion process to support force deletion and user removal
spacedmonkey
committed
1a4ddf8
View commit details
Copy full SHA for 1a4ddf8
Browse repository at this point
Tests: Add validation for existing domain and path when creating or updating sites
spacedmonkey
committed
13c56ee
View commit details
Copy full SHA for 13c56ee
Browse repository at this point
Remove redundant cache update call in site creation process
spacedmonkey
committed
8fe0b65
View commit details
Copy full SHA for 8fe0b65
Browse repository at this point
REST API: Validate domain and path on the Sites Controller
Show description for e0801aa
spacedmonkey
committed
e0801aa
View commit details
Copy full SHA for e0801aa
Browse repository at this point
Merge remote-tracking branch 'fork-1/feature/40365-rest-sites-endpoint-check-exists' into feature/40365-rest-sites-endpoint-check-exists
Show description for 9ca95a1
spacedmonkey
committed
9ca95a1
View commit details
Copy full SHA for 9ca95a1
Browse repository at this point
Commits on Sep 11, 2026
Merge pull request #3 from spacedmonkey/feature/40365-rest-sites-endpoint-force-delete
Show description for cee5f71
lloc
authored
cee5f71
View commit details
Copy full SHA for cee5f71
Browse repository at this point
Merge pull request #4 from spacedmonkey/feature/40365-rest-sites-endpoint-check-exists
Show description for a8889ee
lloc
authored
a8889ee
View commit details
Copy full SHA for a8889ee
Browse repository at this point
Commits on Sep 14, 2026
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
lloc
authored
396291c
View commit details
Copy full SHA for 396291c
Browse repository at this point
Commits on Sep 18, 2026
Apply suggestion from @spacedmonkey
spacedmonkey
authored
586589d
View commit details
Copy full SHA for 586589d
Browse repository at this point
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
spacedmonkey
authored
06c7410
View commit details
Copy full SHA for 06c7410
Browse repository at this point
Apply suggestion from @spacedmonkey
spacedmonkey
authored
a6430fb
View commit details
Copy full SHA for a6430fb
Browse repository at this point
Commits on Sep 28, 2026
Update src/wp-includes/rest-api/endpoints/class-wp-rest-sites-controller.php
Show description for b178b2f
lloc
and
peterwilsoncc
authored
b178b2f
View commit details
Copy full SHA for b178b2f
Browse repository at this point
Update src/wp-includes/rest-api/endpoints/class-wp-rest-sites-controller.php
Show description for 8b519ff
lloc
and
peterwilsoncc
authored
8b519ff
View commit details
Copy full SHA for 8b519ff
Browse repository at this point
Update src/wp-includes/rest-api/endpoints/class-wp-rest-sites-controller.php
Show description for 797e119
lloc
and
peterwilsoncc
authored
797e119
View commit details
Copy full SHA for 797e119
Browse repository at this point
Multisite: Require delete_sites capability to delete a site via REST, refine sites permission checks.
Show description for 4aa1947
spacedmonkey
and
claude
committed
4aa1947
View commit details
Copy full SHA for 4aa1947
Browse repository at this point
Tests: Fix WordPress coding standards violations in wpRestSitesController.php.
Show description for 1a1c422
spacedmonkey
and
claude
committed
1a1c422
View commit details
Copy full SHA for 1a1c422
Browse repository at this point
Tests: Regenerate wp-api-generated.js fixture to include network arg default.
Show description for 8f76f4f
spacedmonkey
and
claude
committed
8f76f4f
View commit details
Copy full SHA for 8f76f4f
Browse repository at this point
REST API: Rename check_domain_is_available() to check_url_is_available().
Show description for 4ef1358
spacedmonkey
and
claude
committed
4ef1358
View commit details
Copy full SHA for 4ef1358
Browse repository at this point
Tests: Add unit tests for check_url_is_available().
Show description for 94b6c0e
spacedmonkey
and
claude
committed
94b6c0e
View commit details
Copy full SHA for 94b6c0e
Browse repository at this point
Multisite: Fix follow-up permission-check inconsistencies in the sites REST controller.
Show description for 0edb70e
spacedmonkey
and
claude
committed
0edb70e
View commit details
Copy full SHA for 0edb70e
Browse repository at this point
Commits on Sep 29, 2026
Multisite: Close a related anonymous-access gap in the sites `user` filter.
Show description for 3734302
spacedmonkey
and
claude
committed
3734302
View commit details
Copy full SHA for 3734302
Browse repository at this point
Define allow_batch support for site endpoints
spacedmonkey
committed
13b9603
View commit details
Copy full SHA for 13b9603
Browse repository at this point
Commits on Sep 30, 2026
Add per-network super-admin scoping to REST sites controller (WIP)
Show description for 6f0330c
spacedmonkey
and
claude
committed
6f0330c
View commit details
Copy full SHA for 6f0330c
Browse repository at this point
Merge pull request #8 from spacedmonkey/feature/40365-rest-sites-endpoint-super-admin
Show description for 21377c7
lloc
authored
21377c7
View commit details
Copy full SHA for 21377c7
Browse repository at this point
Merge pull request #7 from spacedmonkey/feature/40365-rest-sites-endpoint-v2
Show description for b474a90
lloc
authored
b474a90
View commit details
Copy full SHA for b474a90
Browse repository at this point
Merge pull request #6 from spacedmonkey/fix/40365-check-url-is-available
Show description for 7c9f2e3
lloc
authored
7c9f2e3
View commit details
Copy full SHA for 7c9f2e3
Browse repository at this point
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
lloc
authored
30869d5
View commit details
Copy full SHA for 30869d5
Browse repository at this point
Merge branch 'feature/40365-rest-sites-endpoint' into fix/40365-rest-sites-permissions
Show description for 573f99b
lloc
committed
573f99b
View commit details
Copy full SHA for 573f99b
Browse repository at this point
Coding Standards: Use Yoda condition in get_super_admins().
lloc
committed
bb56c85
View commit details
Copy full SHA for bb56c85
Browse repository at this point
Coding Standards: Equals sign not aligned with surrounding assignments.
lloc
committed
b94c719
View commit details
Copy full SHA for b94c719
Browse repository at this point
Update tests/qunit/fixtures/wp-api-generated.js
spacedmonkey
authored
32df851
View commit details
Copy full SHA for 32df851
Browse repository at this point
REST API: Merge network-ID permission checks into a single method.
Show description for e4597ba
spacedmonkey
and
claude
committed
e4597ba
View commit details
Copy full SHA for e4597ba
Browse repository at this point
Commits on Oct 1, 2026
Merge pull request #9 from spacedmonkey/feature/40365-rest-sites-endpoint-fix
Show description for 9288cc1
lloc
authored
9288cc1
View commit details
Copy full SHA for 9288cc1
Browse repository at this point
Fix tests
spacedmonkey
authored
959bf3d
View commit details
Copy full SHA for 959bf3d
Browse repository at this point
Apply suggestion from @spacedmonkey
spacedmonkey
authored
6cb9041
View commit details
Copy full SHA for 6cb9041
Browse repository at this point
Merge branch 'trunk' into feature/40365-rest-sites-endpoint
spacedmonkey
authored
5973182
View commit details
Copy full SHA for 5973182
Browse repository at this point
You can’t perform that action at this time.