Skip to content

Commit 0326322

Browse files
committed
* Fix for edge case when migrating Offload Media and Leopard Offload links.
1 parent 61d2e1a commit 0326322

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

classes/Tools/Storage/StorageTool.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4909,7 +4909,7 @@ private function getOffloadS3URL(
49094909
if ( empty($region) ) {
49104910
return "https://s3.amazonaws.com/{$bucket}/{$key}";
49114911
}
4912-
return "https://s3-{$region}.amazonaws.com/{$bucket}/{$key}";
4912+
return "https://s3.{$region}.amazonaws.com/{$bucket}/{$key}";
49134913
}
49144914

49154915
if ( $provider === 'do' ) {
@@ -4952,7 +4952,7 @@ private function getLeopardURL(
49524952
if ( empty($region) ) {
49534953
return "https://s3.amazonaws.com/{$bucket}/{$key}";
49544954
}
4955-
return "https://s3-{$region}.amazonaws.com/{$bucket}/{$key}";
4955+
return "https://s3.{$region}.amazonaws.com/{$bucket}/{$key}";
49564956
}
49574957

49584958
if ( $provider === 'do' ) {

ilab-media-tools.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Plugin URI: https://github.com/interfacelab/ilab-media-tools
66
Description: Automatically upload media to Amazon S3 and integrate with Imgix, a real-time image processing CDN. Boosts site performance and simplifies workflows.
77
Author: interfacelab
8-
Version: 4.5.14
8+
Version: 4.5.15
99
Requires PHP: 7.4
1010
Author URI: http://interfacelab.io
1111
*/
@@ -114,7 +114,7 @@
114114
}
115115

116116
// Version Defines
117-
define( 'MEDIA_CLOUD_VERSION', '4.5.14' );
117+
define( 'MEDIA_CLOUD_VERSION', '4.5.15' );
118118
define( 'MEDIA_CLOUD_INFO_VERSION', '4.0.2' );
119119
define( 'MCLOUD_IS_BETA', false );
120120
// Debugging

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Requires at least: 4.9
55
Tested up to: 6.1
66
License: GPLv3 or later
77
License URI: http://www.gnu.org/licenses/gpl-3.0.html
8-
Stable tag: 4.5.14
8+
Stable tag: 4.5.15
99
Requires PHP: 7.4
1010

1111
Automatically store media on Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean Spaces + others. Serve CSS/JS assets through CDNs. Integrate with Imgix.
@@ -105,6 +105,10 @@ Imgix is a content delivery network with a twist. In addition to distributing y
105105

106106
== Changelog ==
107107

108+
= 4.5.15 - 12/1/2022 =
109+
110+
* Fix for edge case when migrating Offload Media and Leopard Offload links.
111+
108112
= 4.5.14 - 11/30/2022 =
109113

110114
* Media Cloud will now import setting from Leopard Offload if you are upgrading. This only works for S3 and S3

0 commit comments

Comments
 (0)