WordPress.org

Making WordPress.org

Ticket #3422: 3422.diff

File 3422.diff, 682 bytes (added by Ipstenu, 3 years ago)
  • trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php

     
    125125                }
    126126                echo '</ul>';
    127127
    128                 if ( in_array( $post->post_status, [ 'draft', 'pending' ], true ) ) {
     128                if ( in_array( $post->post_status, [ 'draft', 'pending', 'new' ], true ) ) {
    129129                        $slug_restricted = [];
    130130                        $slug_reserved   = [];
    131131