[wp-trac] [WordPress Trac] #38736: Add $domain parameter to translate_user_role()
WordPress Trac
noreply at wordpress.org
Mon Mar 11 20:31:51 UTC 2019
#38736: Add $domain parameter to translate_user_role()
-----------------------------+----------------------
Reporter: johnjamesjacoby | Owner: ocean90
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: Role/Capability | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+----------------------
Changes (by ocean90):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"44830" 44830]:
{{{
#!CommitTicketReference repository="" revision="44830"
I18N: Add `$domain` argument to `translate_user_role()`.
The text domain is optional and gets passed to
`translate_with_gettext_context()`.
Props johnjamesjacoby .
Fixes #38736.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38736#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list