From 238b7800cee3f0c6681c22b18eba3cb80f649b2f Mon Sep 17 00:00:00 2001 From: frank goossens Date: Tue, 26 Mar 2024 17:47:37 +0100 Subject: [PATCH] improvements to the favicon optimization regex (hat tip to Simon@Shortpixel) --- classes/autoptimizeImages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/autoptimizeImages.php b/classes/autoptimizeImages.php index 4e23a75a..dfa1b385 100644 --- a/classes/autoptimizeImages.php +++ b/classes/autoptimizeImages.php @@ -776,7 +776,7 @@ public function filter_optimize_images( $in, $testing = false ) // act on icon links. if ( ( strpos( $out, '/Um', + '//Um', array( $this, 'replace_icon_callback' ), $out );