[wp-meta] [Making WordPress.org] #4875: Add bulk suspension and reinstating admin tool for themes

Making WordPress.org noreply at wordpress.org
Sat Dec 7 17:44:54 UTC 2019


#4875: Add bulk suspension and reinstating admin tool for themes
------------------------------------------------+---------------------
 Reporter:  dingo_d                             |       Owner:  (none)
     Type:  enhancement                         |      Status:  new
 Priority:  high                                |   Milestone:
Component:  Theme Directory                     |  Resolution:
 Keywords:  has-patch dev-feedback 2nd-opinion  |
------------------------------------------------+---------------------

Comment (by dingo_d):

 I've added a new patch, still WIP but I've consolidated all in one class,
 and it's easier to follow what is happening and what the intention is.
 I've removed the extra screens, which weren't necessary. I've also made
 changes so that extra columns are shown only when a 'suspended' filter is
 selected. This I think I'll need to add some guard clauses, I've only
 noticed now that there are some notices being thrown.

 Also, I'm pasting the gitlog here:


 {{{
 commit 555f1419e8a8d9942198ef78a439fa63015e8880 (HEAD -> feature/bulk-
 suspension-admin-tool)
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sat Dec 7 18:36:48 2019 +0100

     Update suspension and reinstating bulk options, styling fix

     This commit should have been broken down per hook added, I noticed
 this when it was too late. I have added some styling to the subscription
 form, I've also added bulk reinstating and suspension options, as well as
 what happens during bulk suspension.
     I've left the default post row actions for now, as I'm not 100% sure
 what else is going on when one clicks that.
     I'll see how to add checks for the cron, to notify theme reps which
 themes needs reinstating, and which do not.

 commit 5d693dd82a3ee14c18e5ec219391f7f139c883ff
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sat Dec 7 18:35:23 2019 +0100

     Add assets

     CSS for the suspension form

 commit 6d1055aa1452a37cb40be6adff05e8e6e94de5de
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sun Dec 1 18:02:57 2019 +0100

     Add bulk suspension screen

 commit 7008c92c9b4140e87f833cd7703afffdb000f863
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sun Dec 1 17:44:41 2019 +0100

     Add bulk suspension redirect actions

 commit e95157fc00d34962c76d70a473c0d2202b88cdbf
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sun Dec 1 16:59:43 2019 +0100

     Add content to the suspended columns and make some of them sortable

 commit 7cda096b14a60245fcf9d7666a6a37ebca45d962
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sun Dec 1 11:42:32 2019 +0100

     Add new suspension columns

     Columns will be added only if the status of the theme is suspended.
 This way there is no need for additional screens, and there is less
 clutter. Also theme review team reps can see all the necessary information
 in one place.

 commit 844561821e63bd74967cf438bc9d137c854a7703
 Author: Denis Žoljom <denis.zoljom at gmail.com>
 Date:   Sun Dec 1 11:40:28 2019 +0100

     Add new class responsible for the suspension functionality
 }}}

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


More information about the wp-meta mailing list