| 开发者 |
kokeperez
kokenet |
|---|---|
| 更新时间 | 2026年6月25日 16:45 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
niquelao-image-optimizer/ folder to /wp-content/plugins/Yes. It uses the PHP Imagick or GD libraries, available on virtually all shared hosting providers.
Optionally. Enable "Save backup" in the settings to keep a .niquelao-bak copy alongside each processed file.
By default only the full-size original is backed up, not every thumbnail size. Go to Niquelao Optimizer → Maintenance to scan for accumulated .niquelao-bak files, download a ZIP copy, and purge them in batches.
Yes. The EXIF/IPTC Copyright, Artist and Author fields are preserved after stripping the rest of the metadata.
unlink() calls with wp_delete_file() in the Maintenance ZIP download and cleanup routinesphpcs:ignore annotations for the unavoidable direct is_writable()/readfile() filesystem calls used to manage .htaccess and stream the temporary backup ZIP (no WP_Filesystem equivalent exists for these specific operations)phpcs:ignore annotations for $_POST['offset']/$_POST['token'] reads in Maintenance AJAX handlers, where the nonce is already verified via check_ajax_referer() inside check_permissions() earlier in the same method@import in the admin stylesheet (present since the first approved version) — admin UI now uses a local system-font stack, with no third-party assets loaded__() and passed to the script as a translatable object.htaccess block (via WordPress' insert_with_markers()/extract_from_markers()) that serves the .webp version under the same original URL when the browser supports it, with no redirects and no URL changes.htaccess writability and whether the rule block is actually installed.htaccess block is automatically removed on plugin deactivation and uninstall, leaving no leftover server rules.niquelao-bak copy instead of every generated thumbnail size, saving disk space and inodes.niquelao-bak files, processed in batches via AJAX to support shared hosting with execution time/inode limits