Changes between Version 6 and Version 12 of Ticket #42725
- Timestamp:
- 12/02/2017 07:09:08 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42725 – Description
v6 v12 6 6 7 7 This ticket contains two patches. 8 1. `gender-to-user-profile.diff` adds a user profile field for users to select their preferred grammatical gender (or pronoun). The default is ` neutral`. This field was inspired by Facebook's and Wikipedia's field. It also introduces a `get_current_user_gender()` helper method to retrieve this field value.8 1. `gender-to-user-profile.diff` adds a user profile field for users to select their preferred grammatical gender (or pronoun). The default is `unknown`. This field was inspired by Facebook's and Wikipedia's field. It also introduces a `get_current_user_gender()` helper method to retrieve this field value. 9 9 10 10 2. `add-new-gender-translation-function.diff`: which adds a `_g()` function (also previously proposed in #36617 by @bastho), and support for it in `makepot.php` via an arguably simple prefix context hack, which makes it compatible with existing translation tool (see notes below about GlotPress support).