Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/plupload
File: wp-plupload.js
* Returns the value of the key.
[500] Fix | Delete
*
[501] Fix | Delete
* param( key, value )
[502] Fix | Delete
* Sets the value of a key.
[503] Fix | Delete
*
[504] Fix | Delete
* param( map )
[505] Fix | Delete
* Sets values for a map of data.
[506] Fix | Delete
*/
[507] Fix | Delete
param: function( key, value ) {
[508] Fix | Delete
if ( arguments.length === 1 && typeof key === 'string' ) {
[509] Fix | Delete
return this.uploader.settings.multipart_params[ key ];
[510] Fix | Delete
}
[511] Fix | Delete
[512] Fix | Delete
if ( arguments.length > 1 ) {
[513] Fix | Delete
this.uploader.settings.multipart_params[ key ] = value;
[514] Fix | Delete
} else {
[515] Fix | Delete
$.extend( this.uploader.settings.multipart_params, key );
[516] Fix | Delete
}
[517] Fix | Delete
},
[518] Fix | Delete
[519] Fix | Delete
/**
[520] Fix | Delete
* Make a few internal event callbacks available on the wp.Uploader object
[521] Fix | Delete
* to change the Uploader internals if absolutely necessary.
[522] Fix | Delete
*/
[523] Fix | Delete
init: function() {},
[524] Fix | Delete
error: function() {},
[525] Fix | Delete
success: function() {},
[526] Fix | Delete
added: function() {},
[527] Fix | Delete
progress: function() {},
[528] Fix | Delete
complete: function() {},
[529] Fix | Delete
refresh: function() {
[530] Fix | Delete
var node, attached, container, id;
[531] Fix | Delete
[532] Fix | Delete
if ( this.browser ) {
[533] Fix | Delete
node = this.browser[0];
[534] Fix | Delete
[535] Fix | Delete
// Check if the browser node is in the DOM.
[536] Fix | Delete
while ( node ) {
[537] Fix | Delete
if ( node === document.body ) {
[538] Fix | Delete
attached = true;
[539] Fix | Delete
break;
[540] Fix | Delete
}
[541] Fix | Delete
node = node.parentNode;
[542] Fix | Delete
}
[543] Fix | Delete
[544] Fix | Delete
/*
[545] Fix | Delete
* If the browser node is not attached to the DOM,
[546] Fix | Delete
* use a temporary container to house it, as the browser button shims
[547] Fix | Delete
* require the button to exist in the DOM at all times.
[548] Fix | Delete
*/
[549] Fix | Delete
if ( ! attached ) {
[550] Fix | Delete
id = 'wp-uploader-browser-' + this.uploader.id;
[551] Fix | Delete
[552] Fix | Delete
container = $( '#' + id );
[553] Fix | Delete
if ( ! container.length ) {
[554] Fix | Delete
container = $('<div class="wp-uploader-browser" />').css({
[555] Fix | Delete
position: 'fixed',
[556] Fix | Delete
top: '-1000px',
[557] Fix | Delete
left: '-1000px',
[558] Fix | Delete
height: 0,
[559] Fix | Delete
width: 0
[560] Fix | Delete
}).attr( 'id', 'wp-uploader-browser-' + this.uploader.id ).appendTo('body');
[561] Fix | Delete
}
[562] Fix | Delete
[563] Fix | Delete
container.append( this.browser );
[564] Fix | Delete
}
[565] Fix | Delete
}
[566] Fix | Delete
[567] Fix | Delete
this.uploader.refresh();
[568] Fix | Delete
}
[569] Fix | Delete
});
[570] Fix | Delete
[571] Fix | Delete
// Create a collection of attachments in the upload queue,
[572] Fix | Delete
// so that other modules can track and display upload progress.
[573] Fix | Delete
Uploader.queue = new wp.media.model.Attachments( [], { query: false });
[574] Fix | Delete
[575] Fix | Delete
// Create a collection to collect errors incurred while attempting upload.
[576] Fix | Delete
Uploader.errors = new Backbone.Collection();
[577] Fix | Delete
[578] Fix | Delete
exports.Uploader = Uploader;
[579] Fix | Delete
})( wp, jQuery );
[580] Fix | Delete
[581] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function