Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #7959, comment 1


Ignore:
Timestamp:
04/19/2025 03:51:36 PM (13 months ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7959, comment 1

    initial v1  
    22https://wordpress.org/wp-json/wporg/v1/core-downloads/6.8?_locale=user
    33
    4 The code that does this is in wpord-main-2022/src/download-conter/index.php and yes, it uses the number_format_i18n call.
     4The code that does this is in wporg-main-2022/src/download-conter/index.php and yes, it uses the number_format_i18n call.
    55
    66Now, 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.