WordPress.org

Making WordPress.org

Changeset 4378


Ignore:
Timestamp:
11/19/2016 02:04:33 PM (4 years ago)
Author:
ocean90
Message:

Translate, Rosetta Roles: Remove the $include_children argument of get_project_id_access_list() for the Waiting tab.

This is temporarily and affects only PTEs for the 'wp-plugins' and 'wp-themes' projects.

See #2255.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php

    r4083 r4378  
    595595            $allowed_projects = array();
    596596            if ( ! $can_approve_for_all && $role = $this->roles_adapter->is_approver_for_locale( $user_id, $locale ) ) {
    597                 $allowed_projects = $this->roles_adapter->get_project_id_access_list( $user_id, $locale, true );
     597                $allowed_projects = $this->roles_adapter->get_project_id_access_list( $user_id, $locale );
    598598
    599599                // Check to see if they can approve for all projects in this locale.
Note: See TracChangeset for help on using the changeset viewer.