[wp-meta] [Making WordPress.org] #1352: Switch translate.wordpress.org to the plugin version of GlotPress

Making WordPress.org noreply at wordpress.org
Mon Mar 14 13:58:14 UTC 2016


#1352: Switch translate.wordpress.org to the plugin version of GlotPress
-------------------------------------+----------------------
 Reporter:  ocean90                  |       Owner:  ocean90
     Type:  task                     |      Status:  closed
 Priority:  highest omg bbq          |   Milestone:
Component:  translate.wordpress.org  |  Resolution:  fixed
 Keywords:                           |
-------------------------------------+----------------------

Comment (by ocean90):

 In [changeset:"2744"]:
 {{{
 #!CommitTicketReference repository="" revision="2744"
 Translate, Rosetta Roles: In
 `WPorg_GP_Rosetta_Roles::is_approver_for_locale()` don't use `in_array()`
 to check whether a capability exists.

 Capabilities are stored as `[ $cap => bool ]`, which means `in_array(
 'translation_editor', array( 'contributor' => true ) )` returns alway true
 (if the strict parameter isn't set).

 See #1352.
 }}}

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1352#comment:65>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list