Making WordPress.org


Ignore:
Timestamp:
02/03/2021 04:07:33 AM (4 years ago)
Author:
dd32
Message:

Theme Directory: add a Delist status.

This temporarily hides a theme from search, while still making it available directly.

More testing and refinement is probably needed.

Reverts [10243] which reverted [10240].
See #5362.

File:
1 edited

Legend:

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

    r10593 r10635  
    384384
    385385        // Initiate a GitHub actions run for the theme.
    386         $this->trigger_e2e_run( $ticket_id );
     386    //  $this->trigger_e2e_run( $ticket_id );
    387387
    388388        // Success!
     
    555555             * if the uploading user doesn't have have the permission to view drafts.
    556556             */
    557             'post_status'      => array( 'publish', 'pending', 'draft', 'future', 'trash', 'suspend' ),
     557            'post_status'      => array( 'publish', 'pending', 'draft', 'future', 'trash', 'suspend', 'delist' ),
    558558            'suppress_filters' => false,
    559559        ) );
Note: See TracChangeset for help on using the changeset viewer.