= 4.8.10 = * restore compatibility with PHP 5.2.x * finding unlisted thumbnails - don't bother if dialog dismissed. * force JS initialization after 10 sec. if external error on the document.load thread prevented it. * onboarding - small text changes * images added from the front-end sometimes have get_attached_file() null when hook called, delay the check and processing in this case, instead of marking as Optimization N/A. * compatibility with s3-offload pro plugin * fix to time estimate at bulk, which sometimes was displaying x hours and 60 minutes left. * confirm popup when deleting backups. = 4.8.9 = * On some multisites installed in a subdirectory, the get_home_path() doesn't return the subdirectory, fallback to ABSPATH * Sometimes images are not PNG even if they have .png extension. Don't try to convert them if imagecreatefrompng returns false. * Get an aproximate row count for InnoDB tables to optimize the speed, but fallback to normal count(*) for MyISAM * Fix several warnings ($thumbsMissing not an array, $found is not set, etc.) * Return error message when folder could not be found, when adding other media folders * More info to some API errors = 4.8.8 = * fix for trying to convert .png files that are not png actually * fix for installs which don't have PHP GD - deactivate the png 2 jpg conversion * fix for unserialize warnings * improvements in bulk speed when passing through already optimized images. * fix unsupported usage of const by third party punycode.js * fix emails with new root domains like user@domain.store * fix unsupported flock problem * hidden button pending cleanup * fix javascript not being able to generate the actions menu upon image being optimized while inside the image edit and displaying false instead = 4.8.7 = * fix bug of the resize minimum size alert not dismissing = 4.8.6 = * alert user when the plugin doesn't have rights to write to the uploads folder = 4.8.5 = * drop usage of the PHP session / wp_option for the priority queue - use a flat file instead. = 4.8.4 = * fix compatibility problem with WP 4.9 when editing source files with the new built-in editor * fix restore converted PNGs in some situations * fix some minor warnings * refactor png2jpg functions in another class * add compatibility with PHP 5.2 * generate WebP urls - account for settings with different scheme (http - https) = 4.8.2 = * fix minified punycode.js not generated because of ECMA6 not supported by YUI... = 4.8.1 = * fix notice that would not dismiss = 4.8.0 = * propose best plans options for optimizing all images * option to optimize or not the found unlisted thumbs, alert the user about them. * convert png to jpeg also when doing bulk if option set. Also search for usages of the image and replace the URLs in the content. * fix compatbility problem with S3 Offload which caused sending two different sets of URLs for an image. * trim site_url output - found a client case where it ended with a tab... * all wp_options with autoload=no * subscribe and get the API Key directly from the plugin * minify all js and css files * performance improvements for the picture tag generation * retina versions of the icons * fix compatibility with PHP 5.3 for using class:: inside closures * fix "Optimize 0 thumbnails" in column menu generated from Javascript. = 4.7.2 = * fix wrong use of _ function which displayed warning = 4.7.1 = * Deactivate conversion from PNG to JPG for the previous images, until we find a solution for the posts that refer these images. * Minor fix to bulk (last item in Media Library sometimes was left unoptimized) = 4.7.0 = * convert PNG images to JPG option * action called upon optimizing an image: do_action('shortpixel_image_optimised', $post_id); * monitor Other Media folders for changes every hour * button to delete all ShortPixel metadata making ShortPixel forget it optimized the images in Media Library * plugin images at @2x * cleanup Other Media tables * fix wp-options that would not save in some circumstances * fix generate webp tags when post guids are absolute URLs and image URLs are changed, or when site has HTTP/HTTPS versions * fix problem with AMP pages when generating the tags - when using AMP for WP plugin AMP pages are not changed. = 4.6.0 = * add a filter option to the Other Media table * fixes in order to comply with WP plugin guidelines = 4.5.5 = * max thumbs constant - no more than this number of thumbs will be optimized in one pass * fix problem with webp tag when using Fusion Builder * really hide the API key everywhere when configured so = 4.5.3 = * fix Javascript error in bulk in some cases = 4.5.2 = * fix readme again = 4.5.1 = * fix readme = 4.5.0 = * replace img tags in front-end with picture tags, and include the webp images * actions menu in Media Library * option to compare the optimized (main) image with the original in Media Library = 4.4.2 = * fix wrong custom path in some cases = 4.4.1 = * fix warnings on PHP 7.1 for empty array settings. = 4.4.0 = * exclude images based on patterns or image sizes, exclude paths based on patterns * avoid using basename as a fallback for non-UTF8 filenames but instead use own code (basename strips first character if it's not ASCII-128 - for example ISO/IEC 8859-2) * processing spinning indicator in the admin top bar with CSS to display OK on all admin themes. = 4.3.1 = * hide API Key on single sites option ( define SHORTPIXEL_HIDE_API_KEY true in wp-config.php) * fix for PHP installs on Linux that don't have the posix functions available * show an alert when the plugin is no longer able to contact our servers (initially was alerting only before key validation) = 4.3.0 = * a new level of optimization intermediate between lossy and lossless: glossy * bulk restore for Media Library * fix warning when activating plugin in some situations * empty backups button always visible (also when the backup option is unchecked) = 4.2.9 = * fix bug when thumbnails had numeric indexes in the sizes metadata array * fix bug when bulk reoptimizing on some specific conditions = 4.2.8 = * fix bug when searching for thumbanils of files with same prefix * fix bug when several successive images have all files missing = 4.2.7 = * fix bug when quota expires = 4.2.6 = * add the webp files as thumbs to the sizes array in metadata so they are automatically used by themes that use srcset. * add option to optimize PDFs or not. * seamless integration with WP/LR Sync plugin. * gracefully ignore missing thumbs on disk when doing the optimization - just mark them as missing in the metadata. * gracefully add Media Library files that are present on disk but not present in the image metadata (sizes array). * option to dismiss the top toolbar ShortPixel alert when quota expired. * compute the backup folder size asynchronously in order to speed up the settings page. * editors/authors now are able to optimize/restore images from the Media Library list. * handle internationalized domain names (punycode encoded). * reset failed images from Custom Media when user launches a reprocessing of the images from Bulk. * bugfixes = 4.2.5 = * fix for PHP7.1 fatal error when encountering corrupt metadata (wp_get_attachment_metadata returning empty string) = 4.2.4 = * fix not processing the images in the custom image folders if they had uppercase extensions * remove the deprecated mcrypt calls. * fix jQuery 3.x incompatibility when calling .unload() by using on("beforeunload" .. ) instead = 4.2.3 = * fix compatibility with older PHP by not using closure * fix order of optimization of other media - by id not by added timestamp * fix js error for manual optimization from js-generated button * change call to obsolete get_currentuserinfo method = 4.2.2 = * offer to generate the API key directly from ShortPixel settings. * alert and explain why is not allowed to specify a size less than 1024 when resizing. * fix metadata for missing thumbs while optimizing. * button Cleanup&Retry for images that have missing thumbnails. * display what thumbnails are missing. * for Windows platforms, do not check the local path to start with a slash * fix optimization for images that contain '+' in the path * use different styles for bulk boxes instead of the notice class * properly display from the start the number of images to be optimized on the bulk button, when thumbnails are not selected. * fix for sites that have admin urls with a doubled slash like wp-admin//uploads.php * fix JS error on bulk finished page and new images optimizing * fix bulk hangup when encountering a block of more than 900 wp_postmeta lines that are not image metadata. * fix for cases when the wp-content path returned by wordpress contains backpath items (like wp/../wp-content) * fix not saving advanced settings on "Save and go to Bulk" button. = 4.2.1 = * meta box in Media Library image editing form with informations about optimization status and results * delete WebP images when image is deleted from Media Library * change language domain to match the plugin slug in order to be automatically translatable on translate.wordpress.org. = 4.2.0 = * multilanguage support * add retinas count to the ShortPixel Compression column * add option not to automatically optimize Media Library images when added * fix the size bug happening when optimizing main image then optimizing only thumbnails with resize active * restrict log messages to SHORTPIXEL_DEBUG instead of WP_DEBUG * fix compatibility with WP < 3.9 * fix compatibility with watermarking plugins like Image Watermark * fix compatibility with WPBakery Visual Composer = 4.1.7 = * fix backup thumbnail js error = 4.1.6 = * fix processing for sites with caps path like http://mysite.com/My-Path/ * fix WebP generation for images that are already optimized = 4.1.5 = * readme updates - links to informative articles * show that WebP format is created free of charge * hide the Advanced settings tab completely before API Key validation * fix indefinite retries when wrong image size * restrict debug mode to ShortPixel own define = 4.1.4 = * fix path problems on multisite on Windows = 4.1.3 = * fix debug mode too intrusive = 4.1.2 = * bulk slider fix = 4.1.1 = * settings fix = 4.1.0 = * retina images support - optimize also retina images * WebP support - option to generate also WebP images * optimize other media folders also from the root of the site, not only in wp-content * restore and re-optimize other media images * resize options - defined rectangle to be contained in the resized image or the resized image to contain the defined rectangle = 4.0.2 = * fix compatibility with PHP 5.2 * fix for URLs like domain.com/CamelCasePath = 4.0.1 = * Optimize from the front-end option = 4.0.0 = * Custom folders optimization * NextGen galleries optimization = 3.3.4 = * Fix Settings Resources display * Add user and password authentication option for downloading images * fix for PHP installs that lack utf8_encode function * retry from the optimize Ajax post when server sends a 500 error = 3.3.3 = * Compatibility with WPML Media plugin * Fix ListView link on multisites * Fix for server configurations that have max_execution_time = 0 = 3.3.2 = * fix for PHP installs that are missing the mcrypt functions = 3.3.1 = * small fix to the quota revalidation process = 3.3.0 = * reoptimize lossless/lossy * optimize thumbs for images already optimized * compatibility with WPML = 3.2.1 = * old PHP compatibility fix = 3.2.0 = * ICC color profile is always preserved. * possibility to hide the API key in a multisite install. * detection of best protocol to use: https / http. = 3.1.9 = * option to keep the EXIF data and ICC profile. * more explanations on settings. = 3.1.8 = * fix reloading bulk page on quota used up = 3.1.7 = * bugfixes = 3.1.6 = * look and feel improvements = 3.1.5 = * longer timeout for the API Key validation postback = 3.1.4 = * fix bug in bulk processing = 3.1.3 = * fix problems with activating the keys on some systems that do not allow post requests = 3.1.2 = * bulk runs now only on media and post pages * settings page redesign * client site access test from our servers when activating the API key and warn if site not accessible * fix last image sometimes unprocessed by bulk * fix progress bar to advance when skipping images = 3.1.1 = * fix calculation of displayed counters of images to be processed on bulk start * fix restore option that appeared wrongly sometimes - thanks to Bogdan Günther @ http://medianotions.de = 3.1.0 = * rescale big images option - thanks to Bogdan Günther @ http://medianotions.de * referral system * show how many thumbs are optimized for each image * fix the Visual Composer conflict - thanks to Andy Adams - www.certainlysoftware.com = 3.0.8 = * fix issue with files in /tmp dir that weren't deleted in certain cases, issue noted by Daniel - http://germangoogleguy.com = 3.0.7 = * Affiliate codes * Solve conflict with wp-ses plugin * skip image on _FAIL message * mixed content warning fix = 3.0.6 = * Optimized bulk processor behaviour when navigating from one admin page to another. * Improved some explanatory texts. = 3.0.5 = * different bug fixes = 3.0.2 = * Progress bar improvements = 3.0.0 = * Major update * when validating the API Key on a multisite a message with instructions on how to add the API Key in wp-config.php is displayed * check when an optimized image cannot be saved and stop bulk processing (if running) * restore backup is not displayed when option is not activated * change image status in the Media Library ShortPixel Compression column imediately after the image is reduced, not only after reloading the page. Add spinner to the "Image waiting to be processed" status. * images with relative URLs are converted to absolute URL so they can be processed by the plugin * proper handling of images with non-standard latin chars inside * better average compression computation * rewritten handleImageUpload * removed MUST_HAVE_KEY * changed isProcessable * and others :) = 2.1.9 = * Check if the server address is localhost and warn when activating the API key. * Quota exceeded now displays a link to billing page = 2.1.8 = * improved texts/explanations for different sections * added extra option to convert CMYK to RGB for further size reduction * display credits for one time payments as well * API Key can also be configured in wp-config.php like this: define('SHORTPIXEL_API_KEY', 'YOUR_API_KEY'); Useful for multisite installations = 2.1.7 = * improved checking and reporting of firewall restriction on client side * optimized files are saved in the right location when dealing with WP Multisite * updated screenshots = 2.1.6 = * improved login procedure upon quota is exceeded * when quota is exceeded user can more easily increase it * extra warning regarding the number of thumbs available additionally to main images * improved counting of images * check if https works if not use http for communications with the API * better handling of error messages when API service cannot be contacted = 2.1.5 = * visiting Settings/ShortPixel now resets the Queue flag * when plgin's API Key cannot be validated the JS script that calls admin-ajax.php is stopped * return meaningful message on Media Library listing when API Key is not valid * extra check for API Key validation = 2.1.4 = * fixed global variable issue for some variables * fixed API Key validation that occurred for some of the hosting providers out there when HTTPS was used = 2.1.3 = * when backup wasn't activated the processed files weren't put in the right place * removed forgotten debug message * changed "optimised" to "optimized". Welcome USA :) * improved bulk handling and also "cancel" and "resume" options * fixed conflict with wpmandrill on wp_mail function = 2.1.2 = * fixed condition that hanged bulk processing sometimes * added "Reduced by" text * more useful wrong/missing API Key message * test if a backup dir can be created upon plugin validation * added alert when a file couldn't have been overwritten * added alert when a file cannot be saved in backup dir * added Quota on API Calls functionality * added resume bulk processing feature = 2.1.1 = * fixed condition in function that validates content by extension * fixed bug that prevented files uploaded directly in /uploads dir to be properly processed/saved * retry link added besides files that failed to be optimized due to different reasons = 2.1.0 = * speedier file download from API resource * SQL changed to use less CPU intensive queries * improved BULK processing logic, faster results * different small fixes & improvements * skip processed images when running bulk processing = 2.0.8 = * improved logic for processed files to be downloaded every time * sometimes the processing script stopped before finishing all the files to be optimized, fixed * improved processing speed for bulk processing = 2.0.7 = * fixed issue with "missing" images * save plugin version for easier debugging * list mode is set for media library for first time run * fixed bug that prevented backup-ed files to remove when the original was removed = 2.0.6 = * different small fixes = 2.0.5 = * small improvement to make the optimization of newly added images faster. * fixed condition when the PDF files weren't processed * different improvements = 2.0.4 = * fixed recursive backup directory size counter * added backup with subdirectory structure to handle many files * empty backup can handle subdirectories & sets the right flag for backup restore * latest images are optimized first * check for missing images on disk but still linked in DB = 2.0.3 = * added extra check for bad server responses * 10 files/post request for file processing * updated error codes according to API v2 * updated description = 2.0.2 = * added more tags so we better describe newest features = 2.0.1 = * some improvements to bulk processing * PDF files are also optimized now * fixed a thumb processing bug that caused extra API requests = 2.0.0 = * SP plugin uses API v2 and the processing speed is significantly improved = 1.6.10 = * Corrected a bug affecting option saving for some of the users. = 1.6.9 = * Optimize now option only appears when the image wasn't optimized = 1.6.8 = * Bulk Processing optimized to skip images that were already optimized with the same options when Bulk Processing is run multiple times * changed the place where original (backup) files are stored * extra check for missing(expired) processed images = 1.6.7 = * extra check for exif_imagetype function = 1.6.6 = * changed method from GET to POST for API Key validation * bulk optimization text update = 1.6.5 = * plugin tested for WP 4.1 = 1.6.4 = * API validation URL changed to v1 = 1.6.3 = * fallback to http if plugin activation fails for https * added error mesage API Key validation fail = 1.6.2 = * extra check for images that return 3xx/4xx codes to be ignored * API Key validation (error) message is returned to user * error messages for images are displayed in the "ShortPixel Compression" column = 1.6.1 = * fixed small upload glitch * added succes message upon bulk processing completion * improved image backup * lossy option by default upon plugin installation = 1.6.0 = * images' requests for optimization are sent for all sizes upon image upload in media gallery * non-image (e.g. PDF files) are ignored now @ bulk processing * bulk optimization improved & some bugs fixed. * FAQ/Description small changes = 1.5.1 = * readme changes = 1.5.0 = * pictures are removed from backup as well when deleted * restore backup warning/error fixed * fixed useless/bad AJAX requests that occured sometimes * added user agent to API Key validation for debugging purposes * Bulk Processing was freezing for some users, fixed this + added Cancel button = 1.4.1 = * optimize again overwrote the original image, fixed * fixed restore errors * changes to FAQ/Description texts = 1.4.0 = * Bulk image processing improved so it can optimize all the images in background while admin page is open * small changes in readme.txt descrption = 1.3.5 = * fixed broken link in settings page * updated FAQ * description updated = 1.3.2 = * fixed missing action link @ Bulk Processing * added more screenshots = 1.3.1 = * possible fix for API key validation failing * added backup and restore for images that are processed with shortpixel * optimize now feature on Media Library = 1.0.6 = * bulk processing runs in background now. = 1.0.5 = * extra check for the converted images to be safely copied from ShortPixel = 1.0.4 = * corrections and additions to readme.txt and wp-shortpixel.php = 1.0.3 = * minor bug fixes = 1.0.2 = * Updated Bulk editing to run in background * Updated default options * Added notifications on activation = 1.0 = * First working version