[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
js
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 handlebars
SET
[ DEL ]
📁 jszip
SET
[ DEL ]
📁 serialize-json
SET
[ DEL ]
📁 sortable
SET
[ DEL ]
📄 blockUI-4-4-1.min.js
627 B
SET
[ EDIT ]
|
[ DEL ]
📄 blockUI-4-5-1.min.js
627 B
SET
[ EDIT ]
|
[ DEL ]
📄 blockUI.js
1,251 B
SET
[ EDIT ]
|
[ DEL ]
📄 cache-4-4-1.min.js
8,147 B
SET
[ EDIT ]
|
[ DEL ]
📄 cache-4-5-1.min.js
8,222 B
SET
[ EDIT ]
|
[ DEL ]
📄 cache.js
15,654 B
SET
[ EDIT ]
|
[ DEL ]
📄 delay-js-4-4-1.min.js
1,188 B
SET
[ EDIT ]
|
[ DEL ]
📄 delay-js-4-5-1.min.js
1,188 B
SET
[ EDIT ]
|
[ DEL ]
📄 delay-js.js
5,519 B
SET
[ EDIT ]
|
[ DEL ]
📄 heartbeat-4-4-1.min.js
2,848 B
SET
[ EDIT ]
|
[ DEL ]
📄 heartbeat-4-5-1.min.js
2,848 B
SET
[ EDIT ]
|
[ DEL ]
📄 heartbeat.js
7,703 B
SET
[ EDIT ]
|
[ DEL ]
📄 loadAsync-4-4-1.min.js
304 B
SET
[ EDIT ]
|
[ DEL ]
📄 loadAsync-4-5-1.min.js
304 B
SET
[ EDIT ]
|
[ DEL ]
📄 loadAsync.js
670 B
SET
[ EDIT ]
|
[ DEL ]
📄 loadCSS-4-4-1.min.js
818 B
SET
[ EDIT ]
|
[ DEL ]
📄 loadCSS-4-5-1.min.js
818 B
SET
[ EDIT ]
|
[ DEL ]
📄 loadCSS.js
3,119 B
SET
[ EDIT ]
|
[ DEL ]
📄 minify-4-4-1.min.js
12,171 B
SET
[ EDIT ]
|
[ DEL ]
📄 minify-4-5-1.min.js
12,832 B
SET
[ EDIT ]
|
[ DEL ]
📄 minify.js
23,589 B
SET
[ EDIT ]
|
[ DEL ]
📄 modal-4-4-1.min.js
1,159 B
SET
[ EDIT ]
|
[ DEL ]
📄 modal-4-5-1.min.js
1,159 B
SET
[ EDIT ]
|
[ DEL ]
📄 modal.js
2,348 B
SET
[ EDIT ]
|
[ DEL ]
📄 queue-4-4-1.min.js
698 B
SET
[ EDIT ]
|
[ DEL ]
📄 queue-4-5-1.min.js
698 B
SET
[ EDIT ]
|
[ DEL ]
📄 queue.js
3,653 B
SET
[ EDIT ]
|
[ DEL ]
📄 send-command-4-4-1.min.js
2,641 B
SET
[ EDIT ]
|
[ DEL ]
📄 send-command-4-5-1.min.js
2,641 B
SET
[ EDIT ]
|
[ DEL ]
📄 send-command.js
6,019 B
SET
[ EDIT ]
|
[ DEL ]
📄 status-4-4-1.min.js
3,702 B
SET
[ EDIT ]
|
[ DEL ]
📄 status-4-5-1.min.js
3,702 B
SET
[ EDIT ]
|
[ DEL ]
📄 status.js
7,187 B
SET
[ EDIT ]
|
[ DEL ]
📄 wpo-images-view-4-4-1.min.js
7,510 B
SET
[ EDIT ]
|
[ DEL ]
📄 wpo-images-view-4-5-1.min.js
7,510 B
SET
[ EDIT ]
|
[ DEL ]
📄 wpo-images-view.js
15,954 B
SET
[ EDIT ]
|
[ DEL ]
📄 wpoadmin-4-4-1.min.js
38,443 B
SET
[ EDIT ]
|
[ DEL ]
📄 wpoadmin-4-5-1.min.js
38,699 B
SET
[ EDIT ]
|
[ DEL ]
📄 wpoadmin.js
78,242 B
SET
[ EDIT ]
|
[ DEL ]
📄 wposmush-4-4-1.min.js
23,605 B
SET
[ EDIT ]
|
[ DEL ]
📄 wposmush-4-5-1.min.js
23,638 B
SET
[ EDIT ]
|
[ DEL ]
📄 wposmush.js
46,944 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: modal.js
/* How to use the modal wp_optimize.modal.open({ className: 'a-class', // A class name, added to the main modal container events: {}, // An object containing the events added to the modal. See Backbonejs View events syntax. content: function() { return ''; // the Content method returns html or jQuery objects which will be added to the content area of the modal }, ... // Other methods used by the custom events }) */ var wp_optimize = window.wp_optimize || {}; // WordPress v4.9 uses Backbone v1.3.3, which does not support the preinitialize() hook. // Therefore, we are adding a patch to enable support for the preinitialize() hook. (function() { var OriginalView = Backbone.View; Backbone.View = function(options) { if (typeof this.preinitialize === 'function') { this.preinitialize.apply(this, arguments); } return OriginalView.apply(this, arguments); }; Backbone.View.prototype = OriginalView.prototype; Backbone.View.extend = OriginalView.extend; })(); (function($, wp) { 'use strict'; var modal = {}; modal.views = {}; /** * Main modal View */ modal.views.modal = Backbone.View.extend({ tagName: 'div', template: wp.template('wpo-modal'), /** * Extend default values */ preinitialize: function() { this.events = _.extend(this.events || {}, { 'click .wpo-modal--close': 'close' }); this.className = this.className ? 'wpo-modal--container ' + this.className : 'wpo-modal--container '; }, render: function() { this.$el.append(this.template()); this.trigger('rendered'); }, initialize: function() { this.trigger('initialize'); this.render(); this.$content = this.$el.find('.wpo-modal--content'); // Append the content area with the content provided by the child object if ('function' === typeof this.content) { this.$content.append(this.content()); } }, close: function() { $('body').removeClass('wpo-modal-is-opened'); this.remove(); } }); /** * Public method to create and open the modal */ modal.open = function(options) { var view_options = _.extend(options || {}, {}); var modalView = modal.views.modal.extend(view_options); var m = new modalView(); m.$el.appendTo('body'); m.$('.wpo-modal').focus(); $('body').addClass('wpo-modal-is-opened'); return m; } wp_optimize.modal = modal; })(jQuery, window.wp);