[wp-meta] [Making WordPress.org] #7959: Changing thousands separator on download counter page

Making WordPress.org noreply at wordpress.org
Sat Apr 19 15:51:20 UTC 2025


#7959: Changing thousands separator on download counter page
--------------------------------+---------------------
 Reporter:  threadi             |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  low                 |   Milestone:
Component:  WordPress.org Site  |  Resolution:
 Keywords:                      |
--------------------------------+---------------------

Comment (by Otto42):

 You can use the browser inspector to see the request from your browser. In
 my case, it is
 https://wordpress.org/wp-json/wporg/v1/core-downloads/6.8?_locale=user

 The code that does this is in wpord-main-2022/src/download-
 conter/index.php and yes, it uses the number_format_i18n call.

 Now, the _locale parameter in the URL being set to 'user' triggers
 WordPress to call the get_user_locale function. From there, of course, the
 translation system does its thing and loads in the separators and such.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7959#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list