Smarter Data URI handling
-
WP Retina 2x should automatically identify and ignore images with Data URI sources. Even a simple pattern match against the unfiltered source string like
/^data:/i
would help.When treated like a file path,
file_exists()
tests can result in PHP errors like:
PHP Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /var/www/vhosts/image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgH...
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Smarter Data URI handling’ is closed to new replies.