SILENT KILLERPanel

Current Path: > home > ivftiowh > greeceivf.com > wp-content > plugins > quick-setup > modules


Operation   : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software     : Apache
Server IP    : 185.61.154.216 | Your IP: 216.73.216.44
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/ivftiowh/greeceivf.com/wp-content/plugins/quick-setup/modules

NameTypeSizeLast ModifiedActions
.htaccess File 85 bytes May 11 2016 14:01:14.
bad-behavior.php File 1030 bytes May 11 2016 14:01:14.
comprehensive-google-map-plugin.php File 2920 bytes May 11 2016 14:01:14.
contact-form-7.php File 2567 bytes May 11 2016 14:01:14.
disable-comments.php File 685 bytes May 11 2016 14:01:14.
googleanalytics.php File 685 bytes May 11 2016 14:01:14.
index.php File 144 bytes May 11 2016 14:01:14.
jetpack.php File 1194 bytes May 11 2016 14:01:14.
maintenance.php File 1685 bytes May 11 2016 14:01:14.
permalinks.php File 511 bytes May 11 2016 14:01:14.
pointers.php File 659 bytes May 11 2016 14:01:15.
reset-db.php File 6032 bytes May 11 2016 14:01:15.
save-options.php File 1002 bytes May 11 2016 14:01:15.
simple-social-buttons.php File 1652 bytes May 11 2016 14:01:15.
theme.php File 13540 bytes May 11 2016 14:01:15.
wordpress-seo.php.php File 1416 bytes May 11 2016 14:01:15.
wp-smushit.php File 1285 bytes May 11 2016 14:01:15.

Reading File: /home/ivftiowh/greeceivf.com/wp-content/plugins/quick-setup/modules/wp-smushit.php

<?php

/**
 * Copyright 2013 Go Daddy Operating Company, LLC. All Rights Reserved.
 */

// Make sure it's wordpress
if ( !defined( 'ABSPATH' ) )
	die( 'Forbidden' );

// smushit can quit unexpectedly causing the last step of quick setup to hang indefinitely
// this has been disabled until a fix can be found

// add_action( 'gd_quicksetup_install_done',     'gd_quicksetup_setup_wp_smushit' );  // Run after content has been created
add_action( 'gd_quicksetup_installed_plugin-wp-smushit', 'gd_quicksetup_disable_smushit' );

/**
 * Disable smush it with an option
 */
function gd_quicksetup_disable_smushit() {
	update_option( 'wp_smushit_smushit_auto', time() + 300 );
}

/**
 * Smush attachments (e.g. gallery images that were just uploaded)
 */
function gd_quicksetup_setup_wp_smushit() {	
	$attachments = get_posts(
					array(
						'numberposts'    => -1,
						'post_type'      => 'attachment',
						'post_mime_type' => 'image',
					)
	);
	foreach ( $attachments as $attachment ) {
		$original_meta = wp_get_attachment_metadata( $attachment->ID, true );
		$meta = wp_smushit_resize_from_meta_data( $original_meta, $attachment->ID, false );
		wp_update_attachment_metadata( $attachment->ID, $meta );
		usleep( 500000 ); // 500ms
	}
}

SILENT KILLER Tool