[wp-trac] [WordPress Trac] #53171: Total number of attachments not updated when attachment uploaded

WordPress Trac noreply at wordpress.org
Mon Jun 21 20:44:56 UTC 2021


#53171: Total number of attachments not updated when attachment uploaded
------------------------------+-----------------------------------------
 Reporter:  joedolson         |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript, administration
------------------------------+-----------------------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51191" 51191]:
 {{{
 #!CommitTicketReference repository="" revision="51191"
 Media: Update total attachment count when media added or removed.

 Add handlers to increment the total attachments count for the media
 collection when an item is added or removed.

 props adamsilverstein.
 Fixes #53171.
 }}}

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


More information about the wp-trac mailing list