[wp-trac] [WordPress Trac] #38736: Add $domain parameter to translate_user_role()
WordPress Trac
noreply at wordpress.org
Wed Nov 9 22:32:55 UTC 2016
#38736: Add $domain parameter to translate_user_role()
-----------------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Comment (by jdgrimes):
Say I have a plugin that uses `translate_user_role()` for each of the
roles in WordPress, how do I know which textdomain to pass for each role?
(I know this is maybe a separate issue from this ticket, but I hadn't
considered it before.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38736#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list