diff --git a/wp-admin/upload-js.php b/wp-admin/upload-js.php index b7fd8664fc..1b304ac69f 100644 --- a/wp-admin/upload-js.php +++ b/wp-admin/upload-js.php @@ -72,13 +72,13 @@ addLoadEvent( function() { var params = $H(this.params); params.ID = ''; params.action = ''; - h += "' class='back'>echo wp_specialchars(__('« Back'), 1);"; + h += "' class='back'>"; } else { h += "' class='back'>"; } h += "
" if ( !this.currentImage.isImage ) - h += "

'>" + this.currentImage.title + "

"; + h += "

'" + this.currentImage.title + "

"; else h += "

" + this.currentImage.title + "

"; h += " — "; @@ -87,7 +87,7 @@ addLoadEvent( function() { h += '
' h += "
"; if ( this.currentImage.isImage ) { - h += ">"; + h += "'>"; h += "" + this.currentImage.title + ""; h += ""; } else @@ -134,9 +134,9 @@ addLoadEvent( function() { var params = $H(this.params); params.ID = ''; params.action = ''; - h += "' class='back'>« "; + h += "' class='back'>"; } else { - h += "' class='back'>« "; + h += "' class='back'>"; } h += "
" if ( !this.currentImage.isImage ) @@ -244,7 +244,7 @@ addLoadEvent( function() { }, deleteFile: function(id) { - if ( confirm("") ) { + if ( confirm("") ) { $('action-value').value = 'delete'; $('upload-file').submit(); return true;