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:
parent
f039546371
commit
3b17ffb990
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user