/
home
/
altere25
/
sportzsoftlivemeet.com
/
wp-content
/
plugins
/
wp-smushit
/
core
/
/home/altere25/sportzsoftlivemeet.com/wp-content/plugins/wp-smushit/core
mkdir
upload
Name
Size
Mode
Actions
api/
-
0755
rm
avif/
-
0755
rm
backups/
-
0755
rm
cache/
-
0755
rm
cdn/
-
0755
rm
cli/
-
0755
rm
directory/
-
0755
rm
external/
-
0755
rm
image-dimensions/
-
0755
rm
integrations/
-
0755
rm
lazy-load/
-
0755
rm
lcp/
-
0755
rm
media/
-
0755
rm
media-library/
-
0755
rm
membership/
-
0755
rm
modules/
-
0755
rm
next-gen/
-
0755
rm
parser/
-
0755
rm
photon/
-
0755
rm
png2jpg/
-
0755
rm
resize/
-
0755
rm
s3/
-
0755
rm
security/
-
0755
rm
smush/
-
0755
rm
srcset/
-
0755
rm
stats/
-
0755
rm
threads/
-
0755
rm
transform/
-
0755
rm
webp/
-
0755
rm
class-animated-status-controller.php
2815
0644
edit
dl
rm
class-array-utils.php
1718
0644
edit
dl
rm
class-attachment-id-list.php
2437
0644
edit
dl
rm
class-backup-size.php
1539
0644
edit
dl
rm
class-cache-controller.php
3424
0644
edit
dl
rm
class-cli.php
8729
0644
edit
dl
rm
class-configs.php
24139
0644
edit
dl
rm
class-controller.php
1627
0644
edit
dl
rm
class-core.php
23093
0644
edit
dl
rm
class-cron-controller.php
782
0644
edit
dl
rm
class-deprecated-hooks.php
3891
0644
edit
dl
rm
class-error-handler.php
8146
0644
edit
dl
rm
class-file-system.php
1951
0644
edit
dl
rm
class-file-utils.php
680
0644
edit
dl
rm
class-format-utils.php
243
0644
edit
dl
rm
class-helper.php
8185
0644
edit
dl
rm
class-hub-connector.php
15938
0644
edit
dl
rm
class-installer.php
4967
0644
edit
dl
rm
class-keyword-exclusions.php
7053
0644
edit
dl
rm
class-modules.php
1354
0644
edit
dl
rm
class-optimization-controller.php
1054
0644
edit
dl
rm
class-plugin-settings-watcher.php
2397
0644
edit
dl
rm
class-product-analytics.php
7996
0644
edit
dl
rm
class-rest.php
2386
0644
edit
dl
rm
class-server-utils.php
4388
0644
edit
dl
rm
class-settings.php
22735
0644
edit
dl
rm
class-smush-file.php
311
0644
edit
dl
rm
class-stats.php
28696
0644
edit
dl
rm
class-time-utils.php
275
0644
edit
dl
rm
class-timer.php
279
0644
edit
dl
rm
class-upload-dir.php
3716
0644
edit
dl
rm
class-url-utils.php
1586
0644
edit
dl
rm
class-wp-query-utils.php
314
0644
edit
dl
rm
wp-compat.php
1582
0644
edit
dl
rm
Edit:
/home/altere25/sportzsoftlivemeet.com/wp-content/plugins/wp-smushit/core/class-file-system.php
(1951B)
<?php namespace Smush\Core; class File_System { public function file_get_contents( $path, $use_include_path = false, $context = null, $offset = 0, $length = null ) { if ( ! $this->is_valid_path( $path ) ) { return false; } $args = array( $path, $use_include_path, $context, $offset ); if ( ! is_null( $length ) ) { // Even though the default value of $length is 'null', an empty string is returned when 'null' is passed as $length. So, we only include it when a non-null value is provided. $args[] = $length; } return call_user_func_array( 'file_get_contents', $args ); } public function file_exists( $path ) { return $this->validate_and_call( 'file_exists', $path ); } public function unlink( $path ) { return $this->validate_and_call( 'unlink', $path ); } public function copy( $source, $destination ) { return $this->validate_and_call( 'copy', $source, $destination ); } public function is_file( $file ) { return $this->validate_and_call( 'is_file', $file ); } public function is_dir( $path ) { return $this->validate_and_call( 'is_dir', $path ); } public function filesize( $file ) { return $this->validate_and_call( 'filesize', $file ); } public function getimagesize( $path ) { return $this->validate_and_call( 'getimagesize', $path ); } private function validate_and_call( $callback, ...$args ) { foreach ( $args as $arg ) { if ( ! $this->is_valid_path( $arg ) ) { return false; } } return call_user_func_array( $callback, $args ); } private function is_valid_path( $path ) { return false === stripos( $path, 'phar://' ); } public function get_wp_filesystem() { global $wp_filesystem; if ( is_null( $wp_filesystem ) ) { // These aren't included when applying a config from the Hub. if ( ! function_exists( 'WP_Filesystem' ) ) { require_once ABSPATH . 'wp-admin/includes/file.php'; } WP_Filesystem(); } return $wp_filesystem; } }
Save
cmd:
run