Making WordPress.org

Opened 2 years ago

Closed 2 years ago

#7744 closed enhancement (fixed)

Plugin Review Submissions - Change the text of the updated plugin automated reply.

Reported by: frantorres Owned by: dd32
Priority: normal Milestone:
Component: Plugin Directory Keywords:
Cc:

Description

Once a plugin is in the review process, when a plugin author updates their plugin using the submission page, an automated reply is generated to confirm the update and open the ticket in the reviewer's side.

This text is:

New ZIP uploaded by <author>, version <version>.
Comment: <comment>
<URL>

And is generated in the update_review_email function()

As there are some plugin authors that feel confused about this message, the proposal is to change it to:

This is an automated message to confirm that we have received your updated plugin file.

File updated by <author>, version <version>
Comment: <comment>

<URL>

Which in code might be something like (not tested)

<?php
$text = sprintf(
        "This is an automated message to confirm that we have received your updated plugin file.\n\nFile updated by %s, version %s\n",
        wp_get_current_user()->user_login,
        $attachment->version
);
if( ! empty( $attachment->post_content ) ){
        $text .= sprintf(
        "Comment: %s\n",
        $attachment->post_content,
}
$text .= sprintf(
        "\n%s",
        wp_get_attachment_url( $attachment->ID )
);

Change History (2)

#1 @dd32
2 years ago

  • Owner set to dd32
  • Status newaccepted

#2 @dd32
2 years ago

  • Resolutionfixed
  • Status acceptedclosed

In 13962:

Plugin Directory: Update the template for when a plugin author uploads an additional ZIP for review.

Originally this was a log purely for the plugin reviewers, but now it's received by the plugin author too.
As such, this updates the text to make it clear to the plugin author it's an automated message.

Props frantorres.
Fixes #7744.

Note: See TracTickets for help on using tickets.