We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd5adb commit 0df4337Copy full SHA for 0df4337
inc/traits/normalizer.php
@@ -53,7 +53,7 @@ public function get_unoptimized_url( $url ) {
53
}
54
// If the url is an uploaded image, return the url
55
if ( Optml_Media_Offload::is_uploaded_image( $url ) ) {
56
- $pattern = '#/id:([^/]+)/((?:https?|http)://\S+)#';
+ $pattern = '#/id:([^/]+)/((?:https?://|http://|directUpload/)\S+)#';
57
if ( preg_match( $pattern, $url, $matches ) ) {
58
$url = $matches[0];
59
0 commit comments