Making WordPress.org

Opened 10 years ago

Closed 9 years ago

#2475 closed defect (bug) (fixed)

Remove themes from wp-themes.com upon theme status moving to draft in addition to being suspended.

Reported by: dd32 Owned by: Otto42
Priority: normal Milestone:
Component: Theme Directory Keywords: has-patch
Cc:

Description

Right now we remove themes from wp-themes.com upon theme suspension, but not upon the status of the theme being moved back to Draft.

This causes problems when themes are delisted, but not suspended. An example of this is when the theme causes PHP fatal errors, which with the move to PHP7 recently is much more common - those themes are being moved to draft to allow the author to fix the problem, rather than being outright suspended.

tl;dr: Upon status = draft, call wporg_themes_remove_wpthemescom( $theme_slug ).

Attachments (1)

meta-2475.patch (979 bytes ) - added by SergeyBiryukov 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
10 years ago

  • Keywords has-patch added; needs-patch removed

#2 @Otto42
9 years ago

  • Owner set to Otto42
  • Resolutionfixed
  • Status newclosed

In 5572:

Theme Directory: Remove theme from previewer on move to draft. Fixes #2475, props @SergeyBiryukov

Note: See TracTickets for help on using tickets.