Commit 56fbc58
committed
Fix: core/get-site-info ability returns site locale, not user locale in admin
Fixes #64977
The ability's language field now uses get_locale() directly to ensure
it always returns the site language locale, not context-aware user locale.1 parent 9cee595 commit 56fbc58
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments