[wp-trac] [WordPress Trac] #64977: The `core/get-site-info` ability returns wrong locale code in the admin

WordPress Trac noreply at wordpress.org
Wed May 13 09:31:18 UTC 2026


#64977: The `core/get-site-info` ability returns wrong locale code in the admin
---------------------------------+---------------------
 Reporter:  afercia              |       Owner:  (none)
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  7.1
Component:  Abilities API        |     Version:  6.9
 Severity:  normal               |  Resolution:
 Keywords:  abilities has-patch  |     Focuses:
---------------------------------+---------------------

Comment (by gziolo):

 I see multiple patches attached to this ticket.
 https://github.com/WordPress/wordpress-develop/pull/11388 looks the
 closest, but it still would benefit from a unit test that covers this edge
 case. https://github.com/WordPress/wordpress-develop/pull/11502 seems
 correct, but it uses a subset of functionality that the former covers
 through `get_locale()` call. @afercia, does it fix the issue for you as
 well?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64977#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list