Making WordPress.org

Changeset 7799


Ignore:
Timestamp:
10/28/2018 09:26:11 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Plugins: When checking if a plugin with the same slug has already been submitted, account for rejected plugins as well.

Props Ipstenu.
See #3864.

File:
1 edited

Legend:

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

    r7789 r7799  
    13421342                                'post_type'   => 'plugin',
    13431343                                'name'        => $plugin_slug,
    1344                                 'post_status' => array( 'publish', 'pending', 'disabled', 'closed', 'new', 'draft', 'approved' ),
     1344                                'post_status' => array( 'publish', 'pending', 'disabled', 'closed', 'new', 'draft', 'approved', 'rejected' ),
    13451345                        ) );
    13461346
Note: See TracChangeset for help on using the changeset viewer.