No proper handling of -scaled suffixed images
-
Seems the plugin isn’t properly handling
-scaled
suffixed images, introduced by WP recently.I’m renaming an image named like this:
name1.jpg
to this:name.jpg
but in the db there’s an image already named like:
name-scaled.jpg
becausename.jpg
is/was larger than a given threshold and WP renames it automatically.That produces the following error:
PHP Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in /wp-content/plugins/phoenix-media-rename/class-media-rename.php:471
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘No proper handling of -scaled suffixed images’ is closed to new replies.