WP Offload S3 Lite - Version 2.3.1

Version Description

= 2.3 = This is a major upgrade that switches to using a custom table for storing data about offloaded Media Library items. Once upgraded you will not be able to downgrade without restoring data from a backup.

= 2.0 = This is a major upgrade that introduces support for DigitalOcean Spaces, renames the plugin to WP Offload Media Lite, and coincidentally upgrades some of its database settings. You may not be able to downgrade to WP Offload S3 Lite 1.x after upgrading to WP Offload Media Lite 2.0+.

= 1.1 = This is a major change, which ensures S3 URLs are no longer saved in post content. Instead, local URLs are filtered on page generation and replaced with the S3 version. If you depend on the S3 URLs being stored in post content you will need to make modifications to support this version.

= 0.6 = This version requires PHP 5.3.3+ and the Amazon Web Services plugin

Download this release

Release Info

Developer deliciousbrains
Plugin Icon 128x128 WP Offload S3 Lite
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3 to 2.3.1

README.md CHANGED
@@ -4,7 +4,7 @@
4
  **Requires at least:** 4.9
5
  **Tested up to:** 5.3
6
  **Requires PHP:** 5.5
7
- **Stable tag:** 2.3
8
  **License:** GPLv3
9
 
10
  Copies files to Amazon S3, DigitalOcean Spaces or Google Cloud Storage as they are uploaded to the Media Library. Optionally configure Amazon CloudFront or another CDN for faster delivery.
@@ -89,6 +89,10 @@ This version requires PHP 5.3.3+ and the Amazon Web Services plugin
89
 
90
  ## Changelog ##
91
 
 
 
 
 
92
  ### WP Offload Media Lite 2.3 - 2019-11-12 ###
93
  * [Release Summary Blog Post](https://deliciousbrains.com/wp-offload-media-2-3-released/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting)
94
  * New: Upgrade routine to migrate offload data to custom table
4
  **Requires at least:** 4.9
5
  **Tested up to:** 5.3
6
  **Requires PHP:** 5.5
7
+ **Stable tag:** 2.3.1
8
  **License:** GPLv3
9
 
10
  Copies files to Amazon S3, DigitalOcean Spaces or Google Cloud Storage as they are uploaded to the Media Library. Optionally configure Amazon CloudFront or another CDN for faster delivery.
89
 
90
  ## Changelog ##
91
 
92
+ ### WP Offload Media Lite 2.3.1 - 2019-11-19 ###
93
+ * Bug fix: Uncaught Error: Cannot use object of type Media_Library_Item as array in wp-includes/media.php:217
94
+ * Bug fix: Image not automatically offloaded if subsizes not expected
95
+
96
  ### WP Offload Media Lite 2.3 - 2019-11-12 ###
97
  * [Release Summary Blog Post](https://deliciousbrains.com/wp-offload-media-2-3-released/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting)
98
  * New: Upgrade routine to migrate offload data to custom table
classes/amazon-s3-and-cloudfront.php CHANGED
@@ -1061,9 +1061,21 @@ class Amazon_S3_And_CloudFront extends AS3CF_Plugin_Base {
1061
  return $data;
1062
  }
1063
 
1064
- // Protect against updates of partially formed metadata.
1065
- if ( wp_attachment_is_image( $post_id ) && empty( $data['sizes'] ) ) {
1066
- return $data;
 
 
 
 
 
 
 
 
 
 
 
 
1067
  }
1068
 
1069
  $as3cf_item = Media_Library_Item::get_by_source_id( $post_id );
@@ -1086,7 +1098,7 @@ class Amazon_S3_And_CloudFront extends AS3CF_Plugin_Base {
1086
  // upload attachment to provider
1087
  $attachment_metadata = $this->upload_attachment( $post_id, $data );
1088
 
1089
- if ( is_wp_error( $attachment_metadata ) ) {
1090
  return $data;
1091
  }
1092
 
1061
  return $data;
1062
  }
1063
 
1064
+ // Protect against updates of partially formed metadata since WordPress 5.3.
1065
+ // Checks whether new upload currently has no subsizes recorded but is expected to have subsizes during upload,
1066
+ // and if so, are any of its currently missing sizes part of the set.
1067
+ if ( function_exists( 'wp_get_registered_image_subsizes' ) && function_exists( 'wp_get_missing_image_subsizes' ) ) {
1068
+ if ( empty( $data['sizes'] ) && wp_attachment_is_image( $post_id ) ) {
1069
+
1070
+ // There is no unified way of checking whether subsizes are expected, so we have to duplicate WordPress code here.
1071
+ $new_sizes = wp_get_registered_image_subsizes();
1072
+ $new_sizes = apply_filters( 'intermediate_image_sizes_advanced', $new_sizes, $data, $post_id );
1073
+ $missing_sizes = wp_get_missing_image_subsizes( $post_id );
1074
+
1075
+ if ( ! empty( $new_sizes ) && ! empty( $missing_sizes ) && array_intersect_key( $missing_sizes, $new_sizes ) ) {
1076
+ return $data;
1077
+ }
1078
+ }
1079
  }
1080
 
1081
  $as3cf_item = Media_Library_Item::get_by_source_id( $post_id );
1098
  // upload attachment to provider
1099
  $attachment_metadata = $this->upload_attachment( $post_id, $data );
1100
 
1101
+ if ( is_wp_error( $attachment_metadata ) || empty( $attachment_metadata ) || ! is_array( $attachment_metadata ) ) {
1102
  return $data;
1103
  }
1104
 
languages/amazon-s3-and-cloudfront-en.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: amazon-s3-and-cloudfront\n"
10
  "Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
11
- "POT-Creation-Date: 2019-11-12 10:09+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -33,166 +33,166 @@ msgstr ""
33
  msgid "defined in wp-config.php"
34
  msgstr ""
35
 
36
- #: classes/amazon-s3-and-cloudfront.php:1141
37
  #, php-format
38
  msgid "Media Library item with ID %d does not have a valid file path"
39
  msgstr ""
40
 
41
- #: classes/amazon-s3-and-cloudfront.php:1191
42
- #: classes/amazon-s3-and-cloudfront.php:1353
43
  #, php-format
44
  msgid "File %s does not exist"
45
  msgstr ""
46
 
47
- #: classes/amazon-s3-and-cloudfront.php:1221
48
  #, php-format
49
  msgid "Mime type %s is not allowed"
50
  msgstr ""
51
 
52
- #: classes/amazon-s3-and-cloudfront.php:1232
53
  msgid "Already offloaded to a different provider"
54
  msgstr ""
55
 
56
- #: classes/amazon-s3-and-cloudfront.php:1315
57
- #: classes/amazon-s3-and-cloudfront.php:1366
58
  #, php-format
59
  msgid "Error offloading %s to provider: %s"
60
  msgstr ""
61
 
62
- #: classes/amazon-s3-and-cloudfront.php:2521
63
  msgid "This action can only be performed through an admin screen."
64
  msgstr ""
65
 
66
- #: classes/amazon-s3-and-cloudfront.php:2523
67
  msgid "Cheatin&#8217; eh?"
68
  msgstr ""
69
 
70
- #: classes/amazon-s3-and-cloudfront.php:2525
71
  msgid "You do not have sufficient permissions to access this page."
72
  msgstr ""
73
 
74
- #: classes/amazon-s3-and-cloudfront.php:2814
75
  msgid "Error Getting Bucket Region"
76
  msgstr ""
77
 
78
- #: classes/amazon-s3-and-cloudfront.php:2815
79
  #, php-format
80
  msgid "There was an error attempting to get the region of the bucket %s: %s"
81
  msgstr ""
82
 
83
- #: classes/amazon-s3-and-cloudfront.php:2918
84
  msgid ""
85
  "This is a test file to check if the user has write permission to the bucket. "
86
  "Delete me if found."
87
  msgstr ""
88
 
89
- #: classes/amazon-s3-and-cloudfront.php:2924
90
  #, php-format
91
  msgid ""
92
  "There was an error attempting to check the permissions of the bucket %s: %s"
93
  msgstr ""
94
 
95
- #: classes/amazon-s3-and-cloudfront.php:3006
96
  msgid "Error creating bucket"
97
  msgstr ""
98
 
99
- #: classes/amazon-s3-and-cloudfront.php:3007
100
  msgid "Bucket name too short."
101
  msgstr ""
102
 
103
- #: classes/amazon-s3-and-cloudfront.php:3008
104
  msgid "Bucket name too long."
105
  msgstr ""
106
 
107
- #: classes/amazon-s3-and-cloudfront.php:3009
108
  msgid ""
109
  "Invalid character. Bucket names can contain lowercase letters, numbers, "
110
  "periods and hyphens."
111
  msgstr ""
112
 
113
- #: classes/amazon-s3-and-cloudfront.php:3010
114
  msgid "Error saving bucket"
115
  msgstr ""
116
 
117
- #: classes/amazon-s3-and-cloudfront.php:3011
118
  msgid "Error fetching buckets"
119
  msgstr ""
120
 
121
- #: classes/amazon-s3-and-cloudfront.php:3012
122
  msgid "Error getting URL preview: "
123
  msgstr ""
124
 
125
- #: classes/amazon-s3-and-cloudfront.php:3013
126
  msgid "The changes you made will be lost if you navigate away from this page"
127
  msgstr ""
128
 
129
- #: classes/amazon-s3-and-cloudfront.php:3014
130
  msgid "Getting diagnostic info..."
131
  msgstr ""
132
 
133
- #: classes/amazon-s3-and-cloudfront.php:3015
134
  msgid "Error getting diagnostic info: "
135
  msgstr ""
136
 
137
- #: classes/amazon-s3-and-cloudfront.php:3016
138
  msgctxt "placeholder for hidden access key, 39 char max"
139
  msgid "-- not shown --"
140
  msgstr ""
141
 
142
- #: classes/amazon-s3-and-cloudfront.php:3018
143
- #: classes/amazon-s3-and-cloudfront.php:5012
144
  msgid "Settings saved."
145
  msgstr ""
146
 
147
- #: classes/amazon-s3-and-cloudfront.php:3108
148
  msgid "Cheatin' eh?"
149
  msgstr ""
150
 
151
- #: classes/amazon-s3-and-cloudfront.php:3192
152
  msgid "No bucket name provided."
153
  msgstr ""
154
 
155
- #: classes/amazon-s3-and-cloudfront.php:3201
156
  msgid "Bucket name not valid."
157
  msgstr ""
158
 
159
- #: classes/amazon-s3-and-cloudfront.php:3214
160
  msgid "No region provided."
161
  msgstr ""
162
 
163
- #: classes/amazon-s3-and-cloudfront.php:3291
164
  #: view/provider-select.php:329
165
  msgctxt "placeholder for hidden secret access key, 39 char max"
166
  msgid "-- not shown --"
167
  msgstr ""
168
 
169
- #: classes/amazon-s3-and-cloudfront.php:3314
170
  msgid "Key File not valid JSON."
171
  msgstr ""
172
 
173
- #: classes/amazon-s3-and-cloudfront.php:3360
174
  msgctxt "Show the media library tab"
175
  msgid "Media Library"
176
  msgstr ""
177
 
178
- #: classes/amazon-s3-and-cloudfront.php:3361
179
  msgctxt "Show the addons tab"
180
  msgid "Addons"
181
  msgstr ""
182
 
183
- #: classes/amazon-s3-and-cloudfront.php:3362
184
  msgctxt "Show the support tab"
185
  msgid "Support"
186
  msgstr ""
187
 
188
- #: classes/amazon-s3-and-cloudfront.php:3589
189
  #, php-format
190
  msgid ""
191
  "<strong>WP Offload Media</strong> &mdash; The file %s has been given %s "
192
  "permissions in the bucket."
193
  msgstr ""
194
 
195
- #: classes/amazon-s3-and-cloudfront.php:3608
196
  msgid ""
197
  "<strong>WP Offload Media Requirement Missing</strong> &mdash; Looks like you "
198
  "don't have an image manipulation library installed on this server and "
@@ -200,18 +200,18 @@ msgid ""
200
  "Please setup GD or ImageMagick."
201
  msgstr ""
202
 
203
- #: classes/amazon-s3-and-cloudfront.php:4327
204
  #, php-format
205
  msgid ""
206
  "<a href=\"%s\">Define your access keys</a> to enable write access to the "
207
  "bucket"
208
  msgstr ""
209
 
210
- #: classes/amazon-s3-and-cloudfront.php:4334
211
  msgid "Quick Start Guide"
212
  msgstr ""
213
 
214
- #: classes/amazon-s3-and-cloudfront.php:4336
215
  #, php-format
216
  msgid ""
217
  "Looks like we don't have write access to this bucket. It's likely that the "
@@ -220,7 +220,7 @@ msgid ""
220
  "correctly."
221
  msgstr ""
222
 
223
- #: classes/amazon-s3-and-cloudfront.php:4338
224
  #, php-format
225
  msgid ""
226
  "Looks like we don't have access to the buckets. It's likely that the user "
@@ -228,39 +228,39 @@ msgid ""
228
  "Please see our %s for instructions on setting up permissions correctly."
229
  msgstr ""
230
 
231
- #: classes/amazon-s3-and-cloudfront.php:4473
232
  msgid "WP Offload Media Activation"
233
  msgstr ""
234
 
235
- #: classes/amazon-s3-and-cloudfront.php:4474
236
  msgid ""
237
  "WP Offload Media Lite and WP Offload Media cannot both be active. We've "
238
  "automatically deactivated WP Offload Media Lite."
239
  msgstr ""
240
 
241
- #: classes/amazon-s3-and-cloudfront.php:4476
242
  msgid "WP Offload Media Lite Activation"
243
  msgstr ""
244
 
245
- #: classes/amazon-s3-and-cloudfront.php:4477
246
  msgid ""
247
  "WP Offload Media Lite and WP Offload Media cannot both be active. We've "
248
  "automatically deactivated WP Offload Media."
249
  msgstr ""
250
 
251
- #: classes/amazon-s3-and-cloudfront.php:4529
252
  msgid "More&nbsp;info&nbsp;&raquo;"
253
  msgstr ""
254
 
255
- #: classes/amazon-s3-and-cloudfront.php:4624
256
  msgid "this doc"
257
  msgstr ""
258
 
259
- #: classes/amazon-s3-and-cloudfront.php:4626
260
  msgid "WP Offload Media Feature Removed"
261
  msgstr ""
262
 
263
- #: classes/amazon-s3-and-cloudfront.php:4627
264
  #, php-format
265
  msgid ""
266
  "You had the \"Always non-SSL\" option selected in your settings, but we've "
@@ -271,59 +271,59 @@ msgid ""
271
  "to the old behavior."
272
  msgstr ""
273
 
274
- #: classes/amazon-s3-and-cloudfront.php:4657
275
  msgid "Offload"
276
  msgstr ""
277
 
278
- #: classes/amazon-s3-and-cloudfront.php:4762
279
  msgctxt "Storage provider key name"
280
  msgid "Storage Provider"
281
  msgstr ""
282
 
283
- #: classes/amazon-s3-and-cloudfront.php:4763
284
  msgctxt "Storage provider name"
285
  msgid "Storage Provider"
286
  msgstr ""
287
 
288
- #: classes/amazon-s3-and-cloudfront.php:4764
289
  msgctxt "Bucket name"
290
  msgid "Bucket"
291
  msgstr ""
292
 
293
- #: classes/amazon-s3-and-cloudfront.php:4765
294
  msgctxt "Path to file in bucket"
295
  msgid "Path"
296
  msgstr ""
297
 
298
- #: classes/amazon-s3-and-cloudfront.php:4766
299
  msgctxt "Location of bucket"
300
  msgid "Region"
301
  msgstr ""
302
 
303
- #: classes/amazon-s3-and-cloudfront.php:4767
304
  msgctxt "Access control list of the file in bucket"
305
  msgid "Access"
306
  msgstr ""
307
 
308
- #: classes/amazon-s3-and-cloudfront.php:4768
309
  msgid "URL"
310
  msgstr ""
311
 
312
- #: classes/amazon-s3-and-cloudfront.php:4975
313
  msgid "Assets Pull"
314
  msgstr ""
315
 
316
- #: classes/amazon-s3-and-cloudfront.php:4976
317
  msgid ""
318
  "An addon for WP Offload Media to serve your site's JS, CSS, and other "
319
  "enqueued assets from Amazon CloudFront or another CDN."
320
  msgstr ""
321
 
322
- #: classes/amazon-s3-and-cloudfront.php:4980
323
  msgid "Feature"
324
  msgstr ""
325
 
326
- #: classes/amazon-s3-and-cloudfront.php:5026
327
  #, php-format
328
  msgid ""
329
  "<strong>Amazon Web Services Plugin No Longer Required</strong> &mdash; As of "
@@ -334,7 +334,7 @@ msgid ""
334
  "plugin, it should be safe to deactivate and delete it. %2$s"
335
  msgstr ""
336
 
337
- #: classes/amazon-s3-and-cloudfront.php:5058
338
  #, php-format
339
  msgid ""
340
  "<strong>WP Offload Media Settings Moved</strong> &mdash; You now define your "
8
  msgstr ""
9
  "Project-Id-Version: amazon-s3-and-cloudfront\n"
10
  "Report-Msgid-Bugs-To: nom@deliciousbrains.com\n"
11
+ "POT-Creation-Date: 2019-11-19 10:16+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
33
  msgid "defined in wp-config.php"
34
  msgstr ""
35
 
36
+ #: classes/amazon-s3-and-cloudfront.php:1153
37
  #, php-format
38
  msgid "Media Library item with ID %d does not have a valid file path"
39
  msgstr ""
40
 
41
+ #: classes/amazon-s3-and-cloudfront.php:1203
42
+ #: classes/amazon-s3-and-cloudfront.php:1365
43
  #, php-format
44
  msgid "File %s does not exist"
45
  msgstr ""
46
 
47
+ #: classes/amazon-s3-and-cloudfront.php:1233
48
  #, php-format
49
  msgid "Mime type %s is not allowed"
50
  msgstr ""
51
 
52
+ #: classes/amazon-s3-and-cloudfront.php:1244
53
  msgid "Already offloaded to a different provider"
54
  msgstr ""
55
 
56
+ #: classes/amazon-s3-and-cloudfront.php:1327
57
+ #: classes/amazon-s3-and-cloudfront.php:1378
58
  #, php-format
59
  msgid "Error offloading %s to provider: %s"
60
  msgstr ""
61
 
62
+ #: classes/amazon-s3-and-cloudfront.php:2533
63
  msgid "This action can only be performed through an admin screen."
64
  msgstr ""
65
 
66
+ #: classes/amazon-s3-and-cloudfront.php:2535
67
  msgid "Cheatin&#8217; eh?"
68
  msgstr ""
69
 
70
+ #: classes/amazon-s3-and-cloudfront.php:2537
71
  msgid "You do not have sufficient permissions to access this page."
72
  msgstr ""
73
 
74
+ #: classes/amazon-s3-and-cloudfront.php:2826
75
  msgid "Error Getting Bucket Region"
76
  msgstr ""
77
 
78
+ #: classes/amazon-s3-and-cloudfront.php:2827
79
  #, php-format
80
  msgid "There was an error attempting to get the region of the bucket %s: %s"
81
  msgstr ""
82
 
83
+ #: classes/amazon-s3-and-cloudfront.php:2930
84
  msgid ""
85
  "This is a test file to check if the user has write permission to the bucket. "
86
  "Delete me if found."
87
  msgstr ""
88
 
89
+ #: classes/amazon-s3-and-cloudfront.php:2936
90
  #, php-format
91
  msgid ""
92
  "There was an error attempting to check the permissions of the bucket %s: %s"
93
  msgstr ""
94
 
95
+ #: classes/amazon-s3-and-cloudfront.php:3018
96
  msgid "Error creating bucket"
97
  msgstr ""
98
 
99
+ #: classes/amazon-s3-and-cloudfront.php:3019
100
  msgid "Bucket name too short."
101
  msgstr ""
102
 
103
+ #: classes/amazon-s3-and-cloudfront.php:3020
104
  msgid "Bucket name too long."
105
  msgstr ""
106
 
107
+ #: classes/amazon-s3-and-cloudfront.php:3021
108
  msgid ""
109
  "Invalid character. Bucket names can contain lowercase letters, numbers, "
110
  "periods and hyphens."
111
  msgstr ""
112
 
113
+ #: classes/amazon-s3-and-cloudfront.php:3022
114
  msgid "Error saving bucket"
115
  msgstr ""
116
 
117
+ #: classes/amazon-s3-and-cloudfront.php:3023
118
  msgid "Error fetching buckets"
119
  msgstr ""
120
 
121
+ #: classes/amazon-s3-and-cloudfront.php:3024
122
  msgid "Error getting URL preview: "
123
  msgstr ""
124
 
125
+ #: classes/amazon-s3-and-cloudfront.php:3025
126
  msgid "The changes you made will be lost if you navigate away from this page"
127
  msgstr ""
128
 
129
+ #: classes/amazon-s3-and-cloudfront.php:3026
130
  msgid "Getting diagnostic info..."
131
  msgstr ""
132
 
133
+ #: classes/amazon-s3-and-cloudfront.php:3027
134
  msgid "Error getting diagnostic info: "
135
  msgstr ""
136
 
137
+ #: classes/amazon-s3-and-cloudfront.php:3028
138
  msgctxt "placeholder for hidden access key, 39 char max"
139
  msgid "-- not shown --"
140
  msgstr ""
141
 
142
+ #: classes/amazon-s3-and-cloudfront.php:3030
143
+ #: classes/amazon-s3-and-cloudfront.php:5024
144
  msgid "Settings saved."
145
  msgstr ""
146
 
147
+ #: classes/amazon-s3-and-cloudfront.php:3120
148
  msgid "Cheatin' eh?"
149
  msgstr ""
150
 
151
+ #: classes/amazon-s3-and-cloudfront.php:3204
152
  msgid "No bucket name provided."
153
  msgstr ""
154
 
155
+ #: classes/amazon-s3-and-cloudfront.php:3213
156
  msgid "Bucket name not valid."
157
  msgstr ""
158
 
159
+ #: classes/amazon-s3-and-cloudfront.php:3226
160
  msgid "No region provided."
161
  msgstr ""
162
 
163
+ #: classes/amazon-s3-and-cloudfront.php:3303
164
  #: view/provider-select.php:329
165
  msgctxt "placeholder for hidden secret access key, 39 char max"
166
  msgid "-- not shown --"
167
  msgstr ""
168
 
169
+ #: classes/amazon-s3-and-cloudfront.php:3326
170
  msgid "Key File not valid JSON."
171
  msgstr ""
172
 
173
+ #: classes/amazon-s3-and-cloudfront.php:3372
174
  msgctxt "Show the media library tab"
175
  msgid "Media Library"
176
  msgstr ""
177
 
178
+ #: classes/amazon-s3-and-cloudfront.php:3373
179
  msgctxt "Show the addons tab"
180
  msgid "Addons"
181
  msgstr ""
182
 
183
+ #: classes/amazon-s3-and-cloudfront.php:3374
184
  msgctxt "Show the support tab"
185
  msgid "Support"
186
  msgstr ""
187
 
188
+ #: classes/amazon-s3-and-cloudfront.php:3601
189
  #, php-format
190
  msgid ""
191
  "<strong>WP Offload Media</strong> &mdash; The file %s has been given %s "
192
  "permissions in the bucket."
193
  msgstr ""
194
 
195
+ #: classes/amazon-s3-and-cloudfront.php:3620
196
  msgid ""
197
  "<strong>WP Offload Media Requirement Missing</strong> &mdash; Looks like you "
198
  "don't have an image manipulation library installed on this server and "
200
  "Please setup GD or ImageMagick."
201
  msgstr ""
202
 
203
+ #: classes/amazon-s3-and-cloudfront.php:4339
204
  #, php-format
205
  msgid ""
206
  "<a href=\"%s\">Define your access keys</a> to enable write access to the "
207
  "bucket"
208
  msgstr ""
209
 
210
+ #: classes/amazon-s3-and-cloudfront.php:4346
211
  msgid "Quick Start Guide"
212
  msgstr ""
213
 
214
+ #: classes/amazon-s3-and-cloudfront.php:4348
215
  #, php-format
216
  msgid ""
217
  "Looks like we don't have write access to this bucket. It's likely that the "
220
  "correctly."
221
  msgstr ""
222
 
223
+ #: classes/amazon-s3-and-cloudfront.php:4350
224
  #, php-format
225
  msgid ""
226
  "Looks like we don't have access to the buckets. It's likely that the user "
228
  "Please see our %s for instructions on setting up permissions correctly."
229
  msgstr ""
230
 
231
+ #: classes/amazon-s3-and-cloudfront.php:4485
232
  msgid "WP Offload Media Activation"
233
  msgstr ""
234
 
235
+ #: classes/amazon-s3-and-cloudfront.php:4486
236
  msgid ""
237
  "WP Offload Media Lite and WP Offload Media cannot both be active. We've "
238
  "automatically deactivated WP Offload Media Lite."
239
  msgstr ""
240
 
241
+ #: classes/amazon-s3-and-cloudfront.php:4488
242
  msgid "WP Offload Media Lite Activation"
243
  msgstr ""
244
 
245
+ #: classes/amazon-s3-and-cloudfront.php:4489
246
  msgid ""
247
  "WP Offload Media Lite and WP Offload Media cannot both be active. We've "
248
  "automatically deactivated WP Offload Media."
249
  msgstr ""
250
 
251
+ #: classes/amazon-s3-and-cloudfront.php:4541
252
  msgid "More&nbsp;info&nbsp;&raquo;"
253
  msgstr ""
254
 
255
+ #: classes/amazon-s3-and-cloudfront.php:4636
256
  msgid "this doc"
257
  msgstr ""
258
 
259
+ #: classes/amazon-s3-and-cloudfront.php:4638
260
  msgid "WP Offload Media Feature Removed"
261
  msgstr ""
262
 
263
+ #: classes/amazon-s3-and-cloudfront.php:4639
264
  #, php-format
265
  msgid ""
266
  "You had the \"Always non-SSL\" option selected in your settings, but we've "
271
  "to the old behavior."
272
  msgstr ""
273
 
274
+ #: classes/amazon-s3-and-cloudfront.php:4669
275
  msgid "Offload"
276
  msgstr ""
277
 
278
+ #: classes/amazon-s3-and-cloudfront.php:4774
279
  msgctxt "Storage provider key name"
280
  msgid "Storage Provider"
281
  msgstr ""
282
 
283
+ #: classes/amazon-s3-and-cloudfront.php:4775
284
  msgctxt "Storage provider name"
285
  msgid "Storage Provider"
286
  msgstr ""
287
 
288
+ #: classes/amazon-s3-and-cloudfront.php:4776
289
  msgctxt "Bucket name"
290
  msgid "Bucket"
291
  msgstr ""
292
 
293
+ #: classes/amazon-s3-and-cloudfront.php:4777
294
  msgctxt "Path to file in bucket"
295
  msgid "Path"
296
  msgstr ""
297
 
298
+ #: classes/amazon-s3-and-cloudfront.php:4778
299
  msgctxt "Location of bucket"
300
  msgid "Region"
301
  msgstr ""
302
 
303
+ #: classes/amazon-s3-and-cloudfront.php:4779
304
  msgctxt "Access control list of the file in bucket"
305
  msgid "Access"
306
  msgstr ""
307
 
308
+ #: classes/amazon-s3-and-cloudfront.php:4780
309
  msgid "URL"
310
  msgstr ""
311
 
312
+ #: classes/amazon-s3-and-cloudfront.php:4987
313
  msgid "Assets Pull"
314
  msgstr ""
315
 
316
+ #: classes/amazon-s3-and-cloudfront.php:4988
317
  msgid ""
318
  "An addon for WP Offload Media to serve your site's JS, CSS, and other "
319
  "enqueued assets from Amazon CloudFront or another CDN."
320
  msgstr ""
321
 
322
+ #: classes/amazon-s3-and-cloudfront.php:4992
323
  msgid "Feature"
324
  msgstr ""
325
 
326
+ #: classes/amazon-s3-and-cloudfront.php:5038
327
  #, php-format
328
  msgid ""
329
  "<strong>Amazon Web Services Plugin No Longer Required</strong> &mdash; As of "
334
  "plugin, it should be safe to deactivate and delete it. %2$s"
335
  msgstr ""
336
 
337
+ #: classes/amazon-s3-and-cloudfront.php:5070
338
  #, php-format
339
  msgid ""
340
  "<strong>WP Offload Media Settings Moved</strong> &mdash; You now define your "
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: uploads, amazon, s3, amazon s3, digitalocean, digitalocean spaces, google
4
  Requires at least: 4.9
5
  Tested up to: 5.3
6
  Requires PHP: 5.5
7
- Stable tag: 2.3
8
  License: GPLv3
9
 
10
  Copies files to Amazon S3, DigitalOcean Spaces or Google Cloud Storage as they are uploaded to the Media Library. Optionally configure Amazon CloudFront or another CDN for faster delivery.
@@ -81,6 +81,10 @@ This version requires PHP 5.3.3+ and the Amazon Web Services plugin
81
 
82
  == Changelog ==
83
 
 
 
 
 
84
  = WP Offload Media Lite 2.3 - 2019-11-12 =
85
  * [Release Summary Blog Post](https://deliciousbrains.com/wp-offload-media-2-3-released/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting)
86
  * New: Upgrade routine to migrate offload data to custom table
4
  Requires at least: 4.9
5
  Tested up to: 5.3
6
  Requires PHP: 5.5
7
+ Stable tag: 2.3.1
8
  License: GPLv3
9
 
10
  Copies files to Amazon S3, DigitalOcean Spaces or Google Cloud Storage as they are uploaded to the Media Library. Optionally configure Amazon CloudFront or another CDN for faster delivery.
81
 
82
  == Changelog ==
83
 
84
+ = WP Offload Media Lite 2.3.1 - 2019-11-19 =
85
+ * Bug fix: Uncaught Error: Cannot use object of type Media_Library_Item as array in wp-includes/media.php:217
86
+ * Bug fix: Image not automatically offloaded if subsizes not expected
87
+
88
  = WP Offload Media Lite 2.3 - 2019-11-12 =
89
  * [Release Summary Blog Post](https://deliciousbrains.com/wp-offload-media-2-3-released/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting)
90
  * New: Upgrade routine to migrate offload data to custom table
wordpress-s3.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Offload Media Lite
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-s3-and-cloudfront/
5
  Description: Automatically copies media uploads to Amazon S3, DigitalOcean Spaces or Google Cloud Storage for storage and delivery. Optionally configure Amazon CloudFront or another CDN for even faster delivery.
6
  Author: Delicious Brains
7
- Version: 2.3
8
  Author URI: https://deliciousbrains.com/
9
  Network: True
10
  Text Domain: amazon-s3-and-cloudfront
@@ -26,7 +26,7 @@ Domain Path: /languages/
26
  // Then completely rewritten.
27
  */
28
 
29
- $GLOBALS['aws_meta']['amazon-s3-and-cloudfront']['version'] = '2.3';
30
 
31
  require_once dirname( __FILE__ ) . '/classes/as3cf-compatibility-check.php';
32
 
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-s3-and-cloudfront/
5
  Description: Automatically copies media uploads to Amazon S3, DigitalOcean Spaces or Google Cloud Storage for storage and delivery. Optionally configure Amazon CloudFront or another CDN for even faster delivery.
6
  Author: Delicious Brains
7
+ Version: 2.3.1
8
  Author URI: https://deliciousbrains.com/
9
  Network: True
10
  Text Domain: amazon-s3-and-cloudfront
26
  // Then completely rewritten.
27
  */
28
 
29
+ $GLOBALS['aws_meta']['amazon-s3-and-cloudfront']['version'] = '2.3.1';
30
 
31
  require_once dirname( __FILE__ ) . '/classes/as3cf-compatibility-check.php';
32