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
I18N: Ignore non-string values in the locale getters
- #13335
#13335
Open
sirreal
wants to merge 18 commits into
WordPress:trunk
WordPress/wordpress-develop:trunk
from
sirreal:fix/locale-getter-type-validation
sirreal/wordpress-develop:fix/locale-getter-type-validation
Copy head branch name to clipboard
Conversation
Commits
18
(18)
Checks
Files changed
Open
I18N: Ignore non-string values in the locale getters
#13335
sirreal
wants to merge 18 commits into
WordPress:trunk
WordPress/wordpress-develop:trunk
from
sirreal:fix/locale-getter-type-validation
sirreal/wordpress-develop:fix/locale-getter-type-validation
Copy head branch name to clipboard
Commits
Commits on Aug 31, 2026
I18N: Ignore non-string values in the locale getters.
Show description for cc1d309
sirreal
committed
cc1d309
View commit details
Copy full SHA for cc1d309
Browse repository at this point
Commits on Sep 14, 2026
Merge branch 'trunk' into fix/locale-getter-type-validation
sirreal
authored
3ec6881
View commit details
Copy full SHA for 3ec6881
Browse repository at this point
Merge trunk into fix/locale-getter-type-validation.
sirreal
committed
b4cc5f8
View commit details
Copy full SHA for b4cc5f8
Browse repository at this point
Tests: Cover the wp_insert_user() create path for a non-string locale.
Show description for 4e5a741
sirreal
committed
4e5a741
View commit details
Copy full SHA for 4e5a741
Browse repository at this point
Docs: Say what the locale guards do to an empty value.
Show description for c71443c
sirreal
committed
c71443c
View commit details
Copy full SHA for c71443c
Browse repository at this point
Tests: Make the option_WPLANG filter test able to fail.
Show description for 5d064ff
sirreal
committed
5d064ff
View commit details
Copy full SHA for 5d064ff
Browse repository at this point
Docs: Trim the comments on the locale guards.
Show description for d6b2ae6
sirreal
committed
d6b2ae6
View commit details
Copy full SHA for d6b2ae6
Browse repository at this point
Users: Drop the wp_insert_user() locale type check.
Show description for 9da8fc8
sirreal
committed
9da8fc8
View commit details
Copy full SHA for 9da8fc8
Browse repository at this point
Tests: Add return types to the locale getter type tests.
Show description for cae7c02
sirreal
committed
cae7c02
View commit details
Copy full SHA for cae7c02
Browse repository at this point
Tests: Reference the ticket from the locale getter type tests.
Show description for ce9a317
sirreal
committed
ce9a317
View commit details
Copy full SHA for ce9a317
Browse repository at this point
Tests: Describe the locale type failure without the request recipe.
Show description for 50ce952
sirreal
committed
50ce952
View commit details
Copy full SHA for 50ce952
Browse repository at this point
I18N: Return an empty string from sanitize_locale_name() for a non-string.
Show description for 5295341
sirreal
committed
5295341
View commit details
Copy full SHA for 5295341
Browse repository at this point
Tests: Reduce the locale getter type tests to the essential cases.
Show description for d72d21d
sirreal
committed
d72d21d
View commit details
Copy full SHA for d72d21d
Browse repository at this point
Commits on Sep 16, 2026
Tests: Restore the locale global in tear_down() in the get_locale() tests.
Show description for dd3a017
sirreal
committed
dd3a017
View commit details
Copy full SHA for dd3a017
Browse repository at this point
Tests: Type the non-string sanitize_locale_name() test and mark the argument.
Show description for 902cb20
sirreal
committed
902cb20
View commit details
Copy full SHA for 902cb20
Browse repository at this point
Merge branch 'trunk' into fix/locale-getter-type-validation
sirreal
authored
93b1468
View commit details
Copy full SHA for 93b1468
Browse repository at this point
Merge branch 'trunk' into fix/locale-getter-type-validation
westonruter
committed
93ae098
View commit details
Copy full SHA for 93ae098
Browse repository at this point
Remove redundant phpdoc tag
westonruter
committed
46da574
View commit details
Copy full SHA for 46da574
Browse repository at this point
You can’t perform that action at this time.