Make WordPress Core

Changes between Version 6 and Version 12 of Ticket #42725


Ignore:
Timestamp:
12/02/2017 07:09:08 PM (6 years ago)
Author:
yoavf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42725 – Description

    v6 v12  
    66
    77This 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.
     81. `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.
    99
    10102. `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).