[wp-meta] [Making WordPress.org] #7744: Plugin Review Submissions - Change the text of the updated plugin automated reply.
Making WordPress.org
noreply at wordpress.org
Sun Aug 11 12:37:54 UTC 2024
#7744: Plugin Review Submissions - Change the text of the updated plugin automated
reply.
------------------------------+--------------------
Reporter: frantorres | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
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
[https://github.com/WordPress/wordpress.org/blob/3584facc20b7461e3fb27fc397fdc50945f338be/wordpress.org/public_html
/wp-content/plugins/plugin-directory/shortcodes/class-upload-
handler.php#L756 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
<?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 )
);
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7744>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list