Making WordPress.org


Ignore:
Timestamp:
04/11/2017 06:37:04 AM (9 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/admin/metabox/class-author-card.php

    r5274 r5318  
    149149
    150150                    $plugin_slug = $plugin->post_name;
    151                     if ( in_array( $plugin->post_status, array( 'draft', 'pending' ) ) ) {
     151                    if ( in_array( $plugin->post_status, array( 'new', 'pending' ) ) ) {
    152152                        $extra .= ' (requested ' . human_time_diff( strtotime( $last_updated ) ) . ' ago)';
    153153                        $tooltips[] = 'Requested, remains unapproved.';
Note: See TracChangeset for help on using the changeset viewer.