diff --git a/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php b/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php
index 074c6d5d9..fa12b31e6 100644
|
a
|
b
|
function wporg_themes_post_status() { |
| 43 | 43 | 'exclude_from_search' => true, |
| 44 | 44 | 'label_count' => _n_noop( 'Suspended <span class="count">(%s)</span>', 'Suspended <span class="count">(%s)</span>', 'wporg-themes' ), |
| 45 | 45 | ) ); |
| | 46 | |
| | 47 | // Themes can be "delisted" to hide them from search, but allow them to be uploaded. |
| | 48 | register_post_status( 'delist', array( |
| | 49 | 'label' => __( 'Delisted', 'wporg-themes' ), |
| | 50 | 'protected' => true, |
| | 51 | 'exclude_from_search' => true, |
| | 52 | 'label_count' => _n_noop( 'Delisted <span class="count">(%s)</span>', 'Delisted <span class="count">(%s)</span>', 'wporg-themes' ), |
| | 53 | ) ); |
| 46 | 54 | } |
| 47 | 55 | add_action( 'init', 'wporg_themes_post_status' ); |
| 48 | 56 | |