Changes between Initial Version and Version 1 of Ticket #44084, comment 15
- Timestamp:
- 08/27/2018 01:50:32 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44084, comment 15
initial v1 1 1 [attachment:"44084.diff"] is a different approach than [attachment:"file.diff"]. 2 2 3 It utilizes the user ID stored in the `WP_User_Request` object to prevent an unnecessary database query in `get_user_by()`. It also switches to the site's default locale if the current user is using a different locale, and switches back after the file is done generating.3 It utilizes the user ID stored in the `WP_User_Request` object to prevent an unnecessary database query in `get_user_by()`. It also switches to the site's default locale if the current user is using a different locale, and switches back after the file is done generating. 4 4 5 5 There are a few strings not included in the actual file that are still not translated: