Making WordPress.org


Ignore:
Timestamp:
04/06/2020 06:55:34 AM (5 years ago)
Author:
dd32
Message:

Plugin Directory: Introduce a 'Transfer This Plugin' form to reassign ownership of a plugin to another committer.

This does not remove the old owners commit rights, only transfers the ownership of it. The committer may choose to remove their commit rights afterwards.

Fixes #5131.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-self-close.php

    r9682 r9702  
    77
    88/**
    9  * An API endpoint for favoriting a particular plugin.
     9 * An API endpoint for closing a particular plugin.
    1010 *
    1111 * @package WordPressdotorg_Plugin_Directory
     
    7575        // Add an audit-log entry as to why this has happened.
    7676        Tools::audit_log(
    77             $plugin,
    78             sprintf( 'Plugin closed. Reason: Author Self-close Request from %s', $_SERVER['REMOTE_ADDR'] )
     77            sprintf( 'Plugin closed. Reason: Author Self-close Request from %s', $_SERVER['REMOTE_ADDR'] ),
     78            $plugin
    7979        );
    8080
     
    9292The WordPress Plugin Directory Team
    9393https://make.wordpress.org/plugins', 'wporg-plugins' ),
    94             $user->display_name,
     94            wp_get_current_user()->display_name,
    9595            gmdate( 'Y-m-d H:i:s \G\M\T' ),
    9696            $plugin->post_title,
Note: See TracChangeset for help on using the changeset viewer.