Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43096, comment 4


Ignore:
Timestamp:
05/05/2023 11:03:57 AM (14 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43096, comment 4

    initial v1  
    11Hi there, thanks for the ticket! Sorry it took so long for someone to get back to you.
    22
    3 As noted above, for `WP_Locale` this was addressed in [52956] / #54564. Other changes make sense too at a glance, but they make things less flexible for switching between locales during the request, unit testing, and might lead to an issue where post types or taxonomy labels cannot be retrieved in the correct locale after the initial call, so maybe we should look at other ways to optimize translations instead.
     3As noted above, for `WP_Locale` this was addressed in [52956] / #54564. Other changes make sense too at a glance, but they make things less flexible for switching between locales during the request, unit testing, and might lead to an issue where post type or taxonomy labels cannot be retrieved in the correct locale after the initial call, so maybe we should look at other ways to optimize translations instead.