WordPress.org

Making WordPress.org

Changeset 6807


Ignore:
Timestamp:
02/28/2018 08:49:35 PM (3 months ago)
Author:
coffee2code
Message:

Plugin Directory: Remove total count of plugin queue size and only report the number of plugins awaiting initial review.

The total count (currently 700+) overwhelmingly represents plugins past their initial review and are most likely awaiting response or action from plugin developers. Undue emphasis was probably given to it by presenting it first. This number gave the impression of a large backlog of submitted plugins whereas it actually has no bearing on newly submitted plugins. It's only of interest to plugin reviewers (who can already find the count in wp-admin).

File:
1 edited

Legend:

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

    r6405 r6807  
    7878                    <p>
    7979                    <?php
    80                     if ( 1 === ( $plugins->new + $plugins->pending ) ) {
    81                         esc_html_e( 'Currently there is 1 plugin in the review queue.', 'wporg-plugins' );
     80                    if ( 1 === (int) $plugins->new ) {
     81                        esc_html_e( 'Currently there is 1 plugin awaiting review.', 'wporg-plugins' );
    8282                    } else {
    8383                        printf(
    84                             /* translators: 1: Total amount of pending plugins; 2: Amount of new plugins. */
     84                            /* translators: %s: Amount of plugins awaiting review. */
    8585                            esc_html( _n(
    86                                 'Currently there are %1$s plugins in the review queue, %2$s of which is awaiting its initial review.',
    87                                 'Currently there are %1$s plugins in the review queue, %2$s of which are awaiting their initial review.',
     86                                'Currently there is %s plugin awaiting review.',
     87                                'Currently there are %s plugins awaiting review.',
    8888                                $plugins->new,
    8989                                'wporg-plugins'
    9090                            ) ),
    91                             '<strong>' . ( $plugins->new + $plugins->pending ) . '</strong>',
    9291                            '<strong>' . $plugins->new . '</strong>'
    9392                        );
Note: See TracChangeset for help on using the changeset viewer.