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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
WordPress
/
wordpress-develop
Public
Notifications
You must be signed in to change notification settings
Fork
3.7k
Star
3.4k
Code
Pull requests
3.5k
Actions
Security and quality
31
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Networks and Sites: Improve search term handling in wp_ajax_autocomplete_user()
- #11530
#11530
Closed
rajeshcpr
wants to merge 13 commits into
WordPress:trunk
WordPress/wordpress-develop:trunk
from
rajeshcpr:rajeshcpr-patch-2
rajeshcpr/wordpress-develop:rajeshcpr-patch-2
Copy head branch name to clipboard
Conversation
Commits
13
(13)
Checks
Files changed
Closed
Networks and Sites: Improve search term handling in wp_ajax_autocomplete_user()
#11530
rajeshcpr
wants to merge 13 commits into
WordPress:trunk
WordPress/wordpress-develop:trunk
from
rajeshcpr:rajeshcpr-patch-2
rajeshcpr/wordpress-develop:rajeshcpr-patch-2
Copy head branch name to clipboard
Commits
Commits on Apr 9, 2026
$_REQUEST['term'] used unsanitized in user search query
Show description for 5eed1c8
rajeshcpr
authored
5eed1c8
View commit details
Copy full SHA for 5eed1c8
Browse repository at this point
Commits on Aug 1, 2026
Merge branch 'trunk' into rajeshcpr-patch-2
t-hamano
authored
e20067c
View commit details
Copy full SHA for e20067c
Browse repository at this point
Tests: Add unit tests for wp_ajax_autocomplete_user().
Show description for 2302623
t-hamano
and
claude
committed
2302623
View commit details
Copy full SHA for 2302623
Browse repository at this point
Commits on Aug 4, 2026
Merge branch 'trunk' into rajeshcpr-patch-2
t-hamano
authored
f85ade1
View commit details
Copy full SHA for f85ade1
Browse repository at this point
Merge branch 'trunk' into rajeshcpr-patch-2
westonruter
authored
b0a4380
View commit details
Copy full SHA for b0a4380
Browse repository at this point
Commits on Aug 5, 2026
Short-circuit empty searches and non-string terms
westonruter
committed
88870e8
View commit details
Copy full SHA for 88870e8
Browse repository at this point
Address PHPStan issues in tests
westonruter
committed
293fba9
View commit details
Copy full SHA for 293fba9
Browse repository at this point
Ensure GET input var is slashed and add test for apostrophe-containing email
westonruter
committed
3ce6250
View commit details
Copy full SHA for 3ce6250
Browse repository at this point
Document behavior change with @since 7.1.0 tag on wp_ajax_autocomplete_user()
Show description for ff20bc1
westonruter
and
claude
committed
ff20bc1
View commit details
Copy full SHA for ff20bc1
Browse repository at this point
Trim asterisks from search term to prevent matching all users
Show description for 784357a
westonruter
and
claude
committed
784357a
View commit details
Copy full SHA for 784357a
Browse repository at this point
Add missing never return
westonruter
committed
23625b1
View commit details
Copy full SHA for 23625b1
Browse repository at this point
Add tests for empty and non-string search terms
Show description for ca51b56
westonruter
and
claude
committed
ca51b56
View commit details
Copy full SHA for ca51b56
Browse repository at this point
Cover tag-stripping when tags wrap the search term
Show description for 3d5285f
3 people
committed
3d5285f
View commit details
Copy full SHA for 3d5285f
Browse repository at this point
You can’t perform that action at this time.