In wp.media.view.UploaderStatus.filename(), don't truncate the filename.

Props helen.
Fixes #31216.


git-svn-id: https://develop.svn.wordpress.org/trunk@32908 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-06-22 21:25:19 +00:00
parent f039546371
commit 3b17ffb990
2 changed files with 2 additions and 2 deletions

View File

@ -8226,7 +8226,7 @@ UploaderStatus = View.extend({
* @returns {string}
*/
filename: function( filename ) {
return wp.media.truncate( _.escape( filename ), 24 );
return _.escape( filename );
},
/**
* @param {Backbone.Model} error

View File

@ -106,7 +106,7 @@ UploaderStatus = View.extend({
* @returns {string}
*/
filename: function( filename ) {
return wp.media.truncate( _.escape( filename ), 24 );
return _.escape( filename );
},
/**
* @param {Backbone.Model} error