Making WordPress.org


Ignore:
Timestamp:
04/11/2017 06:37:04 AM (10 years ago)
Author:
dd32
Message:

Plugin Directory: Introduce the 'new' post_status to replace 'draft', this will allow a better more well-defined statuses for plugins.

See #2716

File:
1 edited

Legend:

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

    r4817 r5318  
    3232                                        <p>
    3333                                                <?php
    34                                                 printf( _n( 'Currently there is %1$s plugin in the review queue.', 'Currently there are %1$s plugins in the review queue, %2$s of which are awaiting their initial review.', ( $plugins->draft + $plugins->pending ), 'wporg-plugins' ),
    35                                                         '<strong>' . ( $plugins->draft + $plugins->pending ) . '</strong>',
    36                                                         '<strong>' . $plugins->draft . '</strong>'
     34                                                printf( _n( 'Currently there is %1$s plugin in the review queue.', 'Currently there are %1$s plugins in the review queue, %2$s of which are awaiting their initial review.', ( $plugins->new + $plugins->pending ), 'wporg-plugins' ),
     35                                                        '<strong>' . ( $plugins->new + $plugins->pending ) . '</strong>',
     36                                                        '<strong>' . $plugins->new . '</strong>'
    3737                                                );
    3838                                                ?>
    3939                                        </p>
    4040                                </div>
    41                                 <?php
    42                                 if ( '/plugins-wp' === parse_url( home_url(), PHP_URL_PATH ) ) {
    43                                         echo '<div class="notice notice-error notice-alt">
    44                                                 <p>Please submit all new plugin requests through the existing form <a href="https://wordpress.org/plugins/add/">available here</a>, You\'re currently viewing the beta version of the upcoming plugin directory, and this form is only for testing purposes.</p>
    45                                         </div>';
    46                                 }
    47                                 ?>
    4841
    4942                        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.