Making WordPress.org


Ignore:
Timestamp:
03/03/2015 07:15:25 AM (11 years ago)
Author:
obenland
Message:

WP.org Themes: Get trashed posts to prevent updates to suspended themes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r1352 r1369  
    116116        // reset the theme directory to be where the stylesheet is
    117117        $this->theme_dir = dirname( $style_css );
    118        
     118
    119119        // Let's check some theme headers, shall we?
    120120
     
    292292             * if the uploading user doesn't have have the permission to view drafts.
    293293             */
    294             'post_status'      => array( 'publish', 'pending', 'draft', 'future' ),
     294            'post_status'      => array( 'publish', 'pending', 'draft', 'future', 'trash' ),
    295295            'suppress_filters' => false,
    296296        ) );
Note: See TracChangeset for help on using the changeset viewer.