[wp-meta] [Making WordPress.org] #5362: Add delist option to theme directory

Making WordPress.org noreply at wordpress.org
Tue Aug 11 06:31:14 UTC 2020


#5362: Add delist option to theme directory
-----------------------------+---------------------
 Reporter:  dd32             |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  low              |   Milestone:
Component:  Theme Directory  |  Resolution:
 Keywords:                   |
-----------------------------+---------------------

Comment (by dingo_d):

 @dd32 If I understood right from taking a look at the code, it's just
 registering new post status, in the `admin-edit.php` like

 {{{#!php
 register_post_status( 'delisted', array(
     'label'               => __( 'Delisted', 'wporg-themes' ),
     'protected'           => true,
     'exclude_from_search' => true,
     'label_count'         => _n_noop( 'Delist <span
 class="count">(%s)</span>', 'Delisted <span class="count">(%s)</span>',
 'wporg-themes' ),
 ) );
 }}}

 The query done in the themes list is pinging the API which only shows
 published themes. This way, the theme won't be posted and searched, but
 won't be blocked for updates (which are blocked if the status is
 `suspended`).

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5362#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list