Making WordPress.org

Changeset 13116


Ignore:
Timestamp:
01/16/2024 05:12:05 AM (14 months ago)
Author:
dd32
Message:

Plugin Directory: Submission: When a pending plugins review email can be found, and it's showing as active, update the user-facing text to indicate it's waiting on the review team NOT the author.

This might reduce some confusion when an author see's it's waiting on them, and expected the text to be dynamic.

See #7384.

File:
1 edited

Legend:

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

    r13113 r13116  
    2929                $plugin->status = __( 'Awaiting Review — This plugin has not yet been reviewed.', 'wporg-plugins' );
    3030            } elseif ( 'pending' === $plugin->post_status ) {
    31                 $plugin->status = __( 'Being Reviewed — This plugin is currently waiting on action from you. Please check your email for details.', 'wporg-plugins' );
     31                $plugin->status       = __( 'Being Reviewed — This plugin is currently waiting on action from you. Please check your email for details.', 'wporg-plugins' );
     32                $plugin->review_email = Upload_Handler::find_review_email( $plugin );
     33
     34                if ( $plugin->review_email && 'closed' !== $plugin->review_email->status ) {
     35                    $plugin->status = __( "Being Reviewed — We've got your email. This plugin is currently waiting on action from our review team.", 'wporg-plugins' );
     36                }
    3237            } elseif ( 'approved' === $plugin->post_status ) {
    3338                $plugin->status = __( 'Approved — Please check your email for instructions on uploading your plugin.', 'wporg-plugins' );
Note: See TracChangeset for help on using the changeset viewer.