updated plugin W3 Total Cache version 2.7.0

This commit is contained in:
2024-03-28 09:40:06 +00:00
committed by Gitium
parent 60de585044
commit 218272bbcb
140 changed files with 3054 additions and 3013 deletions

View File

@ -200,7 +200,7 @@ class UserExperience_LazyLoad_Mutator {
preg_match( '~background(-image)?:\s*(url\([^>]+\))~is', $v, $url_match );
$v = preg_replace( '~background(-image)?:\s*url\([^>]+\)[;]?\s*~is', '', $v );
return $v1 . $v2 . $v . $quote . ' data-bg=' . $quote . $url_match[2] . $quote;
return $v1 . $v2 . $v . $quote . ' data-bg=' . $quote . ( isset( $url_match[2] ) ? $url_match[2] : '' ) . $quote;
}