[wp-trac] [WordPress Trac] #50870: Auto-update counts do not update when bulk deleting

WordPress Trac noreply at wordpress.org
Tue Nov 10 20:12:03 UTC 2020


#50870: Auto-update counts do not update when bulk deleting
----------------------------------------------+----------------------------
 Reporter:  desrosj                           |       Owner:  audrasjb
     Type:  defect (bug)                      |      Status:  accepted
 Priority:  normal                            |   Milestone:  5.6
Component:  Plugins                           |     Version:  5.5
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch has-screenshots commit  |     Focuses:
                                              |  administration
----------------------------------------------+----------------------------
Changes (by pbiron):

 * keywords:  has-patch has-screenshots => has-patch has-screenshots commit


Comment:

 [attachment:"50870.4.diff"] is the same as [attachment:"50870.3.gif"] but
 removes an unnecessary cast to `array` as mentioned in
 [[https://wordpress.slack.com/archives/CULBN711P/p1605037930105800|slack]].

 For whoever commit's this, the cast was to mimic the equivalent code in
 `WP_Plugins_List_Table::prepare_items()` which was added in [37714].  As
 best I can tell, the case isn't needed there, but I don't want to include
 that change in this ticket...but feel free to make the change if you thing
 it's warranted.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50870#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list