Making WordPress.org

Changeset 3131


Ignore:
Timestamp:
05/13/2016 05:11:35 PM (11 years ago)
Author:
obenland
Message:

Plugin Directory: Let committers only see plugins they created and have commit to.

Reverts part of [3093].
See #1571.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php

    r3099 r3131  
    176176
    177177                if ( ! current_user_can( 'plugin_approve' ) && empty( $query->query['post_status']) || ( isset( $query->query['author'] ) && $query->query['author'] == $user->ID ) ) {
     178                        $query->query_vars['author'] = $user->ID;
     179
    178180                        $plugins = Tools::get_users_write_access_plugins( $user );
    179181                        if ( $plugins ) {
Note: See TracChangeset for help on using the changeset viewer.