[Plugin: WP Smush.it] Disable automatic upload
-
Hi all
Very cool plugin (5* for my part), but we can’t disable the automatic upload to smush.it, and with some large files, the upload failed and become very slow.
So i would prefer to use WP Smush.it only in manual mode, but there is no option do disable the automatic feature. Maybe it will be a very great idea to add this feature for all people who only want do manage manually their images.
If you want this feature now, you can hack the wp-smushit/wp-smushit.php file by commenting one of the hook lines : just add // before the first line.
/** * Hooks */ //add_filter('wp_generate_attachment_metadata', 'wp_smushit_resize_from_meta_data', 10, 2); add_filter('manage_media_columns', 'wp_smushit_columns'); add_action('manage_media_custom_column', 'wp_smushit_custom_column', 10, 2); add_action('admin_init', 'wp_smushit_admin_init'); add_action('admin_action_wp_smushit_manual', 'wp_smushit_manual');It seems to work very fine. Hope this could help community. Hope the author will permit us to set up this option 🙂
If there is a problem with this hack, don’t hesitate to contact me. Idem if there is a legal problem with author rights.
See ya !
—
MEAT
The topic ‘[Plugin: WP Smush.it] Disable automatic upload’ is closed to new replies.