Changeset 1285 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
- Timestamp:
- 02/19/2015 10:42:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
r1274 r1285 277 277 'post_type' => 'repopackage', 278 278 'orderby' => 'ID', 279 'post_status' => 'any', 279 280 /* 281 * Specify post stati so this query returns a result for draft themes, even 282 * if the uploading user doesn't have have the permission to view drafts. 283 */ 284 'post_status' => array( 'publish', 'pending', 'draft', 'future' ), 280 285 'suppress_filters' => false, 281 286 ) ); 282 283 $theme = array_pop( $themes ); 287 $theme = current( $themes ); 284 288 285 289 if ( ! empty( $theme ) ) {
Note: See TracChangeset
for help on using the changeset viewer.