mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 16:50:13 +00:00
Media: Properly render any pre-existing upload errors in the uploader status. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1831,6 +1831,7 @@
|
||||
this.errors = wp.Uploader.errors;
|
||||
this.errors.on( 'add remove reset', this.visibility, this );
|
||||
this.errors.on( 'add', this.error, this );
|
||||
_.each( this.errors.models, this.error, this );
|
||||
},
|
||||
|
||||
dispose: function() {
|
||||
|
||||
Reference in New Issue
Block a user