[ 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
/
vendor
/
mrclay
/
minify
/
lib
/
Minify
/
JS
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 ClosureCompiler.php
7,806 B
SET
[ EDIT ]
|
[ DEL ]
📄 JShrink.php
1,242 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: JShrink.php
<?php /** * Class Minify\JS\JShrink * * @package Minify */ namespace Minify\JS; /** * Wrapper to Javascript Minifier built in PHP http://www.tedivm.com * * @package Minify * @author Elan Ruusamäe <glen@pld-linux.org> * @link https://github.com/tedious/JShrink * */ class JShrink { /** * Contains the default options for minification. This array is merged with * the one passed in by the user to create the request specific set of * options (stored in the $options attribute). * * @var string[] */ protected static $defaultOptions = array('flaggedComments' => true); /** * Takes a string containing javascript and removes unneeded characters in * order to shrink the code without altering it's functionality. * * @param string $js The raw javascript to be minified * @param array $options Various runtime options in an associative array * * @see JShrink\Minifier::minify() * @return string */ public static function minify($js, array $options = array()) { $options = array_merge( self::$defaultOptions, $options ); return \JShrink\Minifier::minify($js, $options); } }