Version Description
- Added Privacy Policy content for Smush in Privacy Policy Guide
Download this release
Release Info
Developer | UmeshSingla |
Plugin | Smush Image Compression and Optimization |
Version | 2.7.8.1 |
Comparing to | |
See all releases |
Code changes from version 2.7.8 to 2.7.8.1
- assets/shared-ui/README.md +13 -0
- assets/shared-ui/contributors.txt +1 -0
- extras/free-dashboard/admin.js +2 -2
- languages/wp-smushit.pot +62 -140
- lib/class-wp-smush.php +26 -0
- readme.txt +23 -12
- wp-smush.php +2 -2
assets/shared-ui/README.md
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# README #
|
2 |
+
|
3 |
+
|
4 |
+
## Modification
|
5 |
+
|
6 |
+
Files `wdev-ui.css` and `wdev-ui.js` contain the new WPMUDEV-style UI definitions and can be updated if needed.
|
7 |
+
|
8 |
+
**Tip:** Those files are loaded after the notice-files below to ensure that notice definitions can be overwritten by wdev-ui files.
|
9 |
+
|
10 |
+
|
11 |
+
## Do not edit
|
12 |
+
|
13 |
+
Do not modify the files `notice.css` and `notice.js` - those files are also used by a lot of other plugins. If they are changed they also need to be modified in submodule `incsub/free-dashboard` and all related plugins need to be updated.
|
assets/shared-ui/contributors.txt
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
Philipp Stracker
|
extras/free-dashboard/admin.js
CHANGED
@@ -4,9 +4,9 @@ jQuery(function() {
|
|
4 |
plugin_id = el_notice.find( "input[name=plugin_id]" ).val(),
|
5 |
url_wp = el_notice.find( "input[name=url_wp]" ).val(),
|
6 |
drip_plugin = el_notice.find( "input[name=drip_plugin]" ).val(),
|
7 |
-
inp_email = el_notice.find( "input[name=email]" )
|
8 |
btn_act = el_notice.find( ".frash-notice-act" ),
|
9 |
-
btn_dismiss = el_notice.find( ".frash-notice-dismiss" )
|
10 |
ajax_data = {};
|
11 |
|
12 |
ajax_data.plugin_id = plugin_id;
|
4 |
plugin_id = el_notice.find( "input[name=plugin_id]" ).val(),
|
5 |
url_wp = el_notice.find( "input[name=url_wp]" ).val(),
|
6 |
drip_plugin = el_notice.find( "input[name=drip_plugin]" ).val(),
|
7 |
+
inp_email = el_notice.find( "input[name=email]" ),
|
8 |
btn_act = el_notice.find( ".frash-notice-act" ),
|
9 |
+
btn_dismiss = el_notice.find( ".frash-notice-dismiss" ),
|
10 |
ajax_data = {};
|
11 |
|
12 |
ajax_data.plugin_id = plugin_id;
|
languages/wp-smushit.pot
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP Smush\n"
|
5 |
-
"POT-Creation-Date: 2018-
|
6 |
-
"PO-Revision-Date: 2018-
|
7 |
"Last-Translator: Umesh <umeshsingla05@gmail.com>\n"
|
8 |
"Language-Team: Umesh <umeshsingla05@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -36,115 +36,10 @@ msgstr ""
|
|
36 |
msgid "Saving"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: assets/shared-ui/plugin-ui.php:301
|
40 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:248
|
41 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:289
|
42 |
-
#: lib/class-wp-smush-ui.php:1007
|
43 |
msgid "Dismiss"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:223
|
47 |
-
msgid "install"
|
48 |
-
msgstr ""
|
49 |
-
|
50 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:230
|
51 |
-
#, php-format
|
52 |
-
msgid ""
|
53 |
-
"Important updates are available for <strong>%s</strong>. Install the free "
|
54 |
-
"WPMU DEV Dashboard plugin now for updates and support!"
|
55 |
-
msgstr ""
|
56 |
-
|
57 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:232
|
58 |
-
#, php-format
|
59 |
-
msgid ""
|
60 |
-
"<strong>%s</strong> is almost ready - install the free WPMU DEV Dashboard "
|
61 |
-
"plugin for updates and support!"
|
62 |
-
msgstr ""
|
63 |
-
|
64 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:236
|
65 |
-
msgid ""
|
66 |
-
"Important updates are available for your WPMU DEV plugins/themes. Install "
|
67 |
-
"the free WPMU DEV Dashboard plugin now for updates and support!"
|
68 |
-
msgstr ""
|
69 |
-
|
70 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:238
|
71 |
-
msgid ""
|
72 |
-
"Almost ready - install the free WPMU DEV Dashboard plugin for updates and "
|
73 |
-
"support!"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:244
|
77 |
-
msgid "Install Plugin"
|
78 |
-
msgstr ""
|
79 |
-
|
80 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:247
|
81 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:288
|
82 |
-
msgid "Saving..."
|
83 |
-
msgstr ""
|
84 |
-
|
85 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:264
|
86 |
-
msgid "activate"
|
87 |
-
msgstr ""
|
88 |
-
|
89 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:271
|
90 |
-
#, php-format
|
91 |
-
msgid ""
|
92 |
-
"Important updates are available for <strong>%s</strong>. Activate the WPMU "
|
93 |
-
"DEV Dashboard to update now!"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:273
|
97 |
-
#, php-format
|
98 |
-
msgid ""
|
99 |
-
"Just one more step to enable updates and support for <strong>%s</strong>!"
|
100 |
-
msgstr ""
|
101 |
-
|
102 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:277
|
103 |
-
msgid ""
|
104 |
-
"Important updates are available for your WPMU DEV plugins/themes. Activate "
|
105 |
-
"the WPMU DEV Dashboard to update now!"
|
106 |
-
msgstr ""
|
107 |
-
|
108 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:279
|
109 |
-
msgid ""
|
110 |
-
"Just one more step - activate the WPMU DEV Dashboard plugin and you're all "
|
111 |
-
"done!"
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:285
|
115 |
-
msgid "Activate WPMU DEV Dashboard"
|
116 |
-
msgstr ""
|
117 |
-
|
118 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:952
|
119 |
-
msgid "We did not find any data for this plugin or theme..."
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:1131
|
123 |
-
#, php-format
|
124 |
-
msgid "%s changelog"
|
125 |
-
msgstr ""
|
126 |
-
|
127 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:1161
|
128 |
-
msgid "Current"
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:1167
|
132 |
-
msgid "New"
|
133 |
-
msgstr ""
|
134 |
-
|
135 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:1184
|
136 |
-
#, php-format
|
137 |
-
msgid "Version %s"
|
138 |
-
msgstr ""
|
139 |
-
|
140 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:1202
|
141 |
-
msgid "Show all changes"
|
142 |
-
msgstr ""
|
143 |
-
|
144 |
-
#: extras/dash-notice/wpmudev-dash-notification.php:1203
|
145 |
-
msgid "Hide details"
|
146 |
-
msgstr ""
|
147 |
-
|
148 |
#: extras/free-dashboard/module.php:377
|
149 |
#, php-format
|
150 |
msgid ""
|
@@ -293,7 +188,7 @@ msgid ""
|
|
293 |
"JPEG will further reduce its size."
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: lib/class-wp-smush-admin.php:395 lib/class-wp-smush.php:
|
297 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:159
|
298 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:274
|
299 |
msgid "Super-Smush"
|
@@ -351,8 +246,8 @@ msgstr ""
|
|
351 |
msgid "images could not be smushed."
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: lib/class-wp-smush-admin.php:408 lib/class-wp-smush.php:
|
355 |
-
#: lib/class-wp-smush.php:
|
356 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:193
|
357 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:196
|
358 |
msgid "Already Optimized"
|
@@ -420,11 +315,11 @@ msgstr ""
|
|
420 |
msgid "<strong>%d of %d images</strong> were sent for smushing:"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: lib/class-wp-smush-admin.php:1154 lib/class-wp-smush.php:
|
424 |
msgid "Smushing in progress.."
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: lib/class-wp-smush-admin.php:1160 lib/class-wp-smush.php:
|
428 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:269
|
429 |
msgid "Smush Now!"
|
430 |
msgstr ""
|
@@ -1201,93 +1096,93 @@ msgid ""
|
|
1201 |
"more as part of a WPMU DEV membership."
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: lib/class-wp-smush.php:
|
1205 |
msgid "File path is empty"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: lib/class-wp-smush.php:
|
1209 |
#, php-format
|
1210 |
msgid "Could not find %s"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: lib/class-wp-smush.php:
|
1214 |
#, php-format
|
1215 |
msgid "%s is not writable"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
-
#: lib/class-wp-smush.php:
|
1219 |
#, php-format
|
1220 |
msgid "Skipped (%s), image not found. Attachment: %s"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
-
#: lib/class-wp-smush.php:
|
1224 |
#, php-format
|
1225 |
msgid "Skipped (%s), size limit exceeded. Attachment: %s"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: lib/class-wp-smush.php:
|
1229 |
msgid "Unknown API error"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: lib/class-wp-smush.php:
|
1233 |
msgid ""
|
1234 |
"Skipped due to a timeout error. You can increase the request timeout to make "
|
1235 |
"sure Smush has enough time to process larger files. "
|
1236 |
"`define('WP_SMUSH_API_TIMEOUT', 150);`."
|
1237 |
msgstr ""
|
1238 |
|
1239 |
-
#: lib/class-wp-smush.php:
|
1240 |
#, php-format
|
1241 |
msgid "Error posting to API: %s"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: lib/class-wp-smush.php:
|
1245 |
#, php-format
|
1246 |
msgid "Error posting to API: %s %s"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: lib/class-wp-smush.php:
|
1250 |
msgid "Smush data corrupted, try again."
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#: lib/class-wp-smush.php:
|
1254 |
msgid "Image couldn't be smushed"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#: lib/class-wp-smush.php:
|
1258 |
#, php-format
|
1259 |
msgid "%d images reduced "
|
1260 |
msgstr ""
|
1261 |
|
1262 |
-
#: lib/class-wp-smush.php:
|
1263 |
msgid "Reduced "
|
1264 |
msgstr ""
|
1265 |
|
1266 |
-
#: lib/class-wp-smush.php:
|
1267 |
#, php-format
|
1268 |
msgid "by %s %s"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: lib/class-wp-smush.php:
|
1272 |
#, php-format
|
1273 |
msgid "<br /> Image Size: %s"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: lib/class-wp-smush.php:
|
1277 |
msgid "Detailed stats for all the image sizes"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: lib/class-wp-smush.php:
|
1281 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:236
|
1282 |
msgid "Smush stats"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: lib/class-wp-smush.php:
|
1286 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:263
|
1287 |
msgid "Not processed"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
-
#: lib/class-wp-smush.php:
|
1291 |
#, php-format
|
1292 |
msgid ""
|
1293 |
"When you upload an image to WordPress it automatically creates %s thumbnail "
|
@@ -1296,42 +1191,69 @@ msgid ""
|
|
1296 |
"site we don’t Smush them. Pro users can override this."
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: lib/class-wp-smush.php:
|
1300 |
msgid ""
|
1301 |
"Image couldn't be smushed as it exceeded the 1Mb size limit, Pro users can "
|
1302 |
"smush images with size up to 32Mb."
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#: lib/class-wp-smush.php:
|
1306 |
msgid " Skipped"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#: lib/class-wp-smush.php:
|
1310 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:439
|
1311 |
msgid "Image size"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#: lib/class-wp-smush.php:
|
1315 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:440
|
1316 |
msgid "Savings"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: lib/class-wp-smush.php:
|
1320 |
msgid "Restore original image."
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#: lib/class-wp-smush.php:
|
1324 |
msgid "Restore image"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
-
#: lib/class-wp-smush.php:
|
1328 |
msgid "Smush image including original file."
|
1329 |
msgstr ""
|
1330 |
|
1331 |
-
#: lib/class-wp-smush.php:
|
1332 |
msgid "Resmush image"
|
1333 |
msgstr ""
|
1334 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1335 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:71
|
1336 |
msgid "Bulk WP Smush"
|
1337 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP Smush\n"
|
5 |
+
"POT-Creation-Date: 2018-05-24 11:13+0530\n"
|
6 |
+
"PO-Revision-Date: 2018-05-24 11:12+0530\n"
|
7 |
"Last-Translator: Umesh <umeshsingla05@gmail.com>\n"
|
8 |
"Language-Team: Umesh <umeshsingla05@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
36 |
msgid "Saving"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: assets/shared-ui/plugin-ui.php:301 lib/class-wp-smush-ui.php:1007
|
|
|
|
|
|
|
40 |
msgid "Dismiss"
|
41 |
msgstr ""
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
#: extras/free-dashboard/module.php:377
|
44 |
#, php-format
|
45 |
msgid ""
|
188 |
"JPEG will further reduce its size."
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: lib/class-wp-smush-admin.php:395 lib/class-wp-smush.php:1091
|
192 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:159
|
193 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:274
|
194 |
msgid "Super-Smush"
|
246 |
msgid "images could not be smushed."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: lib/class-wp-smush-admin.php:408 lib/class-wp-smush.php:1006
|
250 |
+
#: lib/class-wp-smush.php:1013
|
251 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:193
|
252 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:196
|
253 |
msgid "Already Optimized"
|
315 |
msgid "<strong>%d of %d images</strong> were sent for smushing:"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: lib/class-wp-smush-admin.php:1154 lib/class-wp-smush.php:1097
|
319 |
msgid "Smushing in progress.."
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: lib/class-wp-smush-admin.php:1160 lib/class-wp-smush.php:1116
|
323 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:269
|
324 |
msgid "Smush Now!"
|
325 |
msgstr ""
|
1096 |
"more as part of a WPMU DEV membership."
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: lib/class-wp-smush.php:203
|
1100 |
msgid "File path is empty"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: lib/class-wp-smush.php:206
|
1104 |
#, php-format
|
1105 |
msgid "Could not find %s"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: lib/class-wp-smush.php:209
|
1109 |
#, php-format
|
1110 |
msgid "%s is not writable"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
+
#: lib/class-wp-smush.php:219
|
1114 |
#, php-format
|
1115 |
msgid "Skipped (%s), image not found. Attachment: %s"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: lib/class-wp-smush.php:222
|
1119 |
#, php-format
|
1120 |
msgid "Skipped (%s), size limit exceeded. Attachment: %s"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: lib/class-wp-smush.php:240
|
1124 |
msgid "Unknown API error"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
+
#: lib/class-wp-smush.php:722
|
1128 |
msgid ""
|
1129 |
"Skipped due to a timeout error. You can increase the request timeout to make "
|
1130 |
"sure Smush has enough time to process larger files. "
|
1131 |
"`define('WP_SMUSH_API_TIMEOUT', 150);`."
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: lib/class-wp-smush.php:725
|
1135 |
#, php-format
|
1136 |
msgid "Error posting to API: %s"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: lib/class-wp-smush.php:732
|
1140 |
#, php-format
|
1141 |
msgid "Error posting to API: %s %s"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: lib/class-wp-smush.php:749
|
1145 |
msgid "Smush data corrupted, try again."
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: lib/class-wp-smush.php:775
|
1149 |
msgid "Image couldn't be smushed"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: lib/class-wp-smush.php:1020
|
1153 |
#, php-format
|
1154 |
msgid "%d images reduced "
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: lib/class-wp-smush.php:1020
|
1158 |
msgid "Reduced "
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: lib/class-wp-smush.php:1024
|
1162 |
#, php-format
|
1163 |
msgid "by %s %s"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
+
#: lib/class-wp-smush.php:1030
|
1167 |
#, php-format
|
1168 |
msgid "<br /> Image Size: %s"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
+
#: lib/class-wp-smush.php:1066
|
1172 |
msgid "Detailed stats for all the image sizes"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
+
#: lib/class-wp-smush.php:1066
|
1176 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:236
|
1177 |
msgid "Smush stats"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: lib/class-wp-smush.php:1110
|
1181 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:263
|
1182 |
msgid "Not processed"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: lib/class-wp-smush.php:1425
|
1186 |
#, php-format
|
1187 |
msgid ""
|
1188 |
"When you upload an image to WordPress it automatically creates %s thumbnail "
|
1191 |
"site we don’t Smush them. Pro users can override this."
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: lib/class-wp-smush.php:1428
|
1195 |
msgid ""
|
1196 |
"Image couldn't be smushed as it exceeded the 1Mb size limit, Pro users can "
|
1197 |
"smush images with size up to 32Mb."
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: lib/class-wp-smush.php:1430
|
1201 |
msgid " Skipped"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: lib/class-wp-smush.php:1452
|
1205 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:439
|
1206 |
msgid "Image size"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: lib/class-wp-smush.php:1453
|
1210 |
#: lib/nextgen-integration/class-wp-smush-nextgen-stats.php:440
|
1211 |
msgid "Savings"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: lib/class-wp-smush.php:1701
|
1215 |
msgid "Restore original image."
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: lib/class-wp-smush.php:1701
|
1219 |
msgid "Restore image"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: lib/class-wp-smush.php:1749
|
1223 |
msgid "Smush image including original file."
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: lib/class-wp-smush.php:1749
|
1227 |
msgid "Resmush image"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: lib/class-wp-smush.php:2426
|
1231 |
+
msgid "Plugin: Smush"
|
1232 |
+
msgstr ""
|
1233 |
+
|
1234 |
+
#: lib/class-wp-smush.php:2428
|
1235 |
+
msgid ""
|
1236 |
+
"Note: Smush does not interact with end users on your website. The only input "
|
1237 |
+
"option Smush has is to a newsletter subscription for site admins only. If "
|
1238 |
+
"you would like to notify your users of this in your privacy policy, you can "
|
1239 |
+
"use the information below."
|
1240 |
+
msgstr ""
|
1241 |
+
|
1242 |
+
#: lib/class-wp-smush.php:2430
|
1243 |
+
msgid ""
|
1244 |
+
"Smush sends images to the WPMU DEV servers to optimize them for web use. "
|
1245 |
+
"This includes the transfer of EXIF data. The EXIF data will either be "
|
1246 |
+
"stripped or returned as it is. It is not stored on the WPMU DEV servers."
|
1247 |
+
msgstr ""
|
1248 |
+
|
1249 |
+
#: lib/class-wp-smush.php:2435
|
1250 |
+
msgid ""
|
1251 |
+
"Smush uses a third-party email service (Drip) to send informational emails "
|
1252 |
+
"to the site administrator. The administrator's email address is sent to Drip "
|
1253 |
+
"and a cookie is set by the service. Only administrator information is "
|
1254 |
+
"collected by Drip."
|
1255 |
+
msgstr ""
|
1256 |
+
|
1257 |
#: lib/nextgen-integration/class-wp-smush-nextgen-admin.php:71
|
1258 |
msgid "Bulk WP Smush"
|
1259 |
msgstr ""
|
lib/class-wp-smush.php
CHANGED
@@ -142,6 +142,11 @@ if ( ! class_exists( 'WpSmush' ) ) {
|
|
142 |
//Register Function for sending unsmushed image count to hub
|
143 |
add_filter( 'wdp_register_hub_action', array( $this, 'smush_stats' ) );
|
144 |
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
146 |
|
147 |
/**
|
@@ -2410,6 +2415,27 @@ if ( ! class_exists( 'WpSmush' ) ) {
|
|
2410 |
);
|
2411 |
update_site_option( WP_SMUSH_PREFIX . 'api_message', $message );
|
2412 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2413 |
}
|
2414 |
|
2415 |
global $WpSmush;
|
142 |
//Register Function for sending unsmushed image count to hub
|
143 |
add_filter( 'wdp_register_hub_action', array( $this, 'smush_stats' ) );
|
144 |
|
145 |
+
/**
|
146 |
+
* Add information to privacy policy page (only during creation).
|
147 |
+
*/
|
148 |
+
add_filter( 'wp_get_default_privacy_policy_content', array( $this, 'add_policy' ) );
|
149 |
+
|
150 |
}
|
151 |
|
152 |
/**
|
2415 |
);
|
2416 |
update_site_option( WP_SMUSH_PREFIX . 'api_message', $message );
|
2417 |
}
|
2418 |
+
|
2419 |
+
/**
|
2420 |
+
* Add Smush Policy to "Privace Policy" page during creation.
|
2421 |
+
*
|
2422 |
+
*/
|
2423 |
+
public function add_policy( $content ) {
|
2424 |
+
$dir_path = get_plugin_dir();
|
2425 |
+
|
2426 |
+
$content .= '<h3>' . __( 'Plugin: Smush', 'wp-smushit' ) . '</h3>';
|
2427 |
+
$content .=
|
2428 |
+
'<p>'.__( 'Note: Smush does not interact with end users on your website. The only input option Smush has is to a newsletter subscription for site admins only. If you would like to notify your users of this in your privacy policy, you can use the information below.', 'wp-smushit' ) . '</p>';
|
2429 |
+
$content .=
|
2430 |
+
'<p>'. __( 'Smush sends images to the WPMU DEV servers to optimize them for web use. This includes the transfer of EXIF data. The EXIF data will either be stripped or returned as it is. It is not stored on the WPMU DEV servers.', 'wp-smushit' ) . '</p>';
|
2431 |
+
|
2432 |
+
if ( strpos( $dir_path, 'wp-smushit' ) !== false ) {
|
2433 |
+
//Only for wordpress.org members
|
2434 |
+
$content .=
|
2435 |
+
'<p>' . __( 'Smush uses a third-party email service (Drip) to send informational emails to the site administrator. The administrator\'s email address is sent to Drip and a cookie is set by the service. Only administrator information is collected by Drip.', 'wp-smushit' ) . '</p>';
|
2436 |
+
}
|
2437 |
+
return $content;
|
2438 |
+
}
|
2439 |
}
|
2440 |
|
2441 |
global $WpSmush;
|
readme.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
=== Smush Image Compression and Optimization ===
|
2 |
Plugin Name: Smush Image Compression and Optimization
|
3 |
-
Version: 2.7.8
|
4 |
Author: WPMU DEV
|
5 |
Author URI: https://premium.wpmudev.org/
|
6 |
Contributors: WPMUDEV, alexdunae
|
7 |
Tags: image, resize, optimize, optimise, compress, performance, optimisation, optimise JPG, photo, pictures, optimizer, Smush WordPress Compression, Smush.it
|
8 |
Requires at least: 4.6
|
9 |
-
Tested up to: 4.9.
|
10 |
-
Stable tag: 2.7.8
|
11 |
Requires PHP: 5.2.4
|
12 |
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
13 |
|
@@ -30,7 +30,7 @@ Large image files may be slowing down your site without you even knowing it. WP
|
|
30 |
|
31 |
[youtube https://www.youtube.com/watch?v=BDtgVJZEajg&feature=youtu.be]
|
32 |
|
33 |
-
|
34 |
|
35 |
<a href="https://garage.godaddy.com/wordpress-plugin-partner-program/directory/?cvosrc=advocacy.evangelism.WP3" rel="nofollow"><img src="https://garage.godaddy.com/wp-content/uploads/badges/godaddy-plugin-partner-program-badge.svg" title="GoDaddy Plugin Program Partner" alt="GoDaddy Plugin Program Partner"/></a>
|
36 |
|
@@ -61,14 +61,14 @@ No matter what plugins you use to better manage your WordPress media library, Sm
|
|
61 |
★★★★★ <br>
|
62 |
“Smush helped reduce the total files size on my site and increased browsing speed. Well done guys!” - <a href="https://wordpress.org/support/users/pdci/">pdci</a>
|
63 |
|
64 |
-
<strong>What about Multisite?</strong>
|
65 |
|
66 |
-
|
67 |
|
68 |
The faster your site loads, the more Google, Bing, Yahoo and other search engines will like it. Your site will load faster and rank higher.
|
69 |
|
70 |
<blockquote>
|
71 |
-
<h4>Features available in
|
72 |
<br>
|
73 |
<ul>
|
74 |
<li>Optimize your images using advanced lossless compression techniques.</li>
|
@@ -83,13 +83,20 @@ The faster your site loads, the more Google, Bing, Yahoo and other search engine
|
|
83 |
<li>View advanced compression stats per-attachment and library totals.</li>
|
84 |
</ul>
|
85 |
|
86 |
-
Install
|
87 |
</blockquote>
|
88 |
|
89 |
Smush can take care of all your image compression needs, for free!
|
90 |
|
91 |
However, if you'd like Super Smush lossy compression, the ability to optimize images up to 32MB, bulk smush optimization for all your images in just one-click, auto-convert PNG to JPEG, the ability to Smush and make a copy of your full-sized images (to restore them at any point) you can always take the next step with <a href="https://premium.wpmudev.org/project/wp-smush-pro/?utm_source=wordpress.org&utm_medium=readme">WP Smush Pro</a>.
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
== Frequently Asked Questions ==
|
95 |
|
@@ -102,7 +109,7 @@ This means your images were not properly scaled for where they are being display
|
|
102 |
|
103 |
= Does Smush delete or replace my original full-size images? =
|
104 |
|
105 |
-
Nope. WordPress crops and resizes every image you upload for embedding on your site. By default, Smush only compresses these cropped and resized images, not your original full-size images. To compress your original full-sized images use <a href="https://premium.wpmudev.org/project/wp-smush-pro/?utm_source=wordpress.org&utm_medium=readme">
|
106 |
|
107 |
= What type of file should I use for my images (GIF, PNG, JPG)? =
|
108 |
|
@@ -116,11 +123,11 @@ JPG should be used for photography or images with a lot of color variation.
|
|
116 |
|
117 |
= I’m a photographer can I keep all my EXIF data? =
|
118 |
|
119 |
-
Yes! EXIF data stores camera settings, focal length, date, time and location information in image files. EXIF data makes image files larger but if you are a photographer you may want to preserve this information. We have included the option to preserve EXIF image data in
|
120 |
|
121 |
= I just ran bulk smush and some of my images didn't get compressed? =
|
122 |
|
123 |
-
First, check to see if you're receiving any server errors. If your images seem to be processing correctly check the file size of the images being skipped. Images over 1mb will be skipped. To compress images up to 32mb get <a href="https://premium.wpmudev.org/project/wp-smush-pro/?utm_source=wordpress.org&utm_medium=readme">
|
124 |
|
125 |
= I activated Smush and I don’t see any difference in image quality. How am I supposed to know if Smush is working? =
|
126 |
|
@@ -147,7 +154,7 @@ It depends what side of the pond you live on...but whether you say optimize, opt
|
|
147 |
|
148 |
1. Upload the `wp-smush` plugin to your `/wp-content/plugins/` directory.
|
149 |
1. Activate the plugin through the 'Plugins' menu in WordPress.
|
150 |
-
1. Configure your desired settings via the `
|
151 |
1. Done!
|
152 |
|
153 |
== Upgrade Notice ==
|
@@ -157,6 +164,10 @@ Yahoo's Smush.it API is gone forever. So WPMU DEV built our own free API that is
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
|
|
|
|
|
|
|
|
160 |
= 2.7.8 =
|
161 |
|
162 |
* Includes changes from update 2.7.7 and a fix for JS errors in custom posts screen disabling post editor tabs
|
1 |
=== Smush Image Compression and Optimization ===
|
2 |
Plugin Name: Smush Image Compression and Optimization
|
3 |
+
Version: 2.7.8.1
|
4 |
Author: WPMU DEV
|
5 |
Author URI: https://premium.wpmudev.org/
|
6 |
Contributors: WPMUDEV, alexdunae
|
7 |
Tags: image, resize, optimize, optimise, compress, performance, optimisation, optimise JPG, photo, pictures, optimizer, Smush WordPress Compression, Smush.it
|
8 |
Requires at least: 4.6
|
9 |
+
Tested up to: 4.9.6
|
10 |
+
Stable tag: 2.7.8.1
|
11 |
Requires PHP: 5.2.4
|
12 |
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
13 |
|
30 |
|
31 |
[youtube https://www.youtube.com/watch?v=BDtgVJZEajg&feature=youtu.be]
|
32 |
|
33 |
+
Smush meticulously scans every image you upload – or have already added to your site – cuts all the unnecessary data and scales it for you before adding it to your media library.
|
34 |
|
35 |
<a href="https://garage.godaddy.com/wordpress-plugin-partner-program/directory/?cvosrc=advocacy.evangelism.WP3" rel="nofollow"><img src="https://garage.godaddy.com/wp-content/uploads/badges/godaddy-plugin-partner-program-badge.svg" title="GoDaddy Plugin Program Partner" alt="GoDaddy Plugin Program Partner"/></a>
|
36 |
|
61 |
★★★★★ <br>
|
62 |
“Smush helped reduce the total files size on my site and increased browsing speed. Well done guys!” - <a href="https://wordpress.org/support/users/pdci/">pdci</a>
|
63 |
|
64 |
+
<strong>What about Multisite?</strong> Smush can be used to optimize all the images across your entire network! Use global settings or configure each site individually.
|
65 |
|
66 |
+
Smush is super easy to use – no confusing compression software settings! Smush images in your library one at a time or bulk smush up to 50 images at a time. Plus, configure auto-smush to asyncronously scale and compress some or all of your images as they are being uploaded – it's incredibly fast.
|
67 |
|
68 |
The faster your site loads, the more Google, Bing, Yahoo and other search engines will like it. Your site will load faster and rank higher.
|
69 |
|
70 |
<blockquote>
|
71 |
+
<h4>Features available in Smush include:</h4>
|
72 |
<br>
|
73 |
<ul>
|
74 |
<li>Optimize your images using advanced lossless compression techniques.</li>
|
83 |
<li>View advanced compression stats per-attachment and library totals.</li>
|
84 |
</ul>
|
85 |
|
86 |
+
Install Smush now and find out why it's the most popular image optimization plugin for WordPress available today with over 2.7 million downloads.
|
87 |
</blockquote>
|
88 |
|
89 |
Smush can take care of all your image compression needs, for free!
|
90 |
|
91 |
However, if you'd like Super Smush lossy compression, the ability to optimize images up to 32MB, bulk smush optimization for all your images in just one-click, auto-convert PNG to JPEG, the ability to Smush and make a copy of your full-sized images (to restore them at any point) you can always take the next step with <a href="https://premium.wpmudev.org/project/wp-smush-pro/?utm_source=wordpress.org&utm_medium=readme">WP Smush Pro</a>.
|
92 |
|
93 |
+
= Privacy =
|
94 |
+
|
95 |
+
Smush does not interact with end users on your website. The only input option Smush has is to a newsletter subscription for site admins only.
|
96 |
+
|
97 |
+
Smush uses a third-party email service (Drip) to send informational emails ( Opt-in) to the site administrator. The administrator's email address is sent to Drip and a cookie is set by the service. Only administrator information is collected by Drip.
|
98 |
+
|
99 |
+
Smush sends images to the WPMU DEV servers to optimize them for web use. This includes the transfer of EXIF data. The EXIF data will either be stripped or returned as it is. It is not stored on the WPMU DEV servers.
|
100 |
|
101 |
== Frequently Asked Questions ==
|
102 |
|
109 |
|
110 |
= Does Smush delete or replace my original full-size images? =
|
111 |
|
112 |
+
Nope. WordPress crops and resizes every image you upload for embedding on your site. By default, Smush only compresses these cropped and resized images, not your original full-size images. To compress your original full-sized images use <a href="https://premium.wpmudev.org/project/wp-smush-pro/?utm_source=wordpress.org&utm_medium=readme">Smush Pro</a>.
|
113 |
|
114 |
= What type of file should I use for my images (GIF, PNG, JPG)? =
|
115 |
|
123 |
|
124 |
= I’m a photographer can I keep all my EXIF data? =
|
125 |
|
126 |
+
Yes! EXIF data stores camera settings, focal length, date, time and location information in image files. EXIF data makes image files larger but if you are a photographer you may want to preserve this information. We have included the option to preserve EXIF image data in Smush.
|
127 |
|
128 |
= I just ran bulk smush and some of my images didn't get compressed? =
|
129 |
|
130 |
+
First, check to see if you're receiving any server errors. If your images seem to be processing correctly check the file size of the images being skipped. Images over 1mb will be skipped. To compress images up to 32mb get <a href="https://premium.wpmudev.org/project/wp-smush-pro/?utm_source=wordpress.org&utm_medium=readme">Smush Pro</a>.
|
131 |
|
132 |
= I activated Smush and I don’t see any difference in image quality. How am I supposed to know if Smush is working? =
|
133 |
|
154 |
|
155 |
1. Upload the `wp-smush` plugin to your `/wp-content/plugins/` directory.
|
156 |
1. Activate the plugin through the 'Plugins' menu in WordPress.
|
157 |
+
1. Configure your desired settings via the `Smush` settings page in dashboard area
|
158 |
1. Done!
|
159 |
|
160 |
== Upgrade Notice ==
|
164 |
|
165 |
== Changelog ==
|
166 |
|
167 |
+
= 2.7.8.1 =
|
168 |
+
|
169 |
+
* Added Privacy Policy content for Smush in Privacy Policy Guide
|
170 |
+
|
171 |
= 2.7.8 =
|
172 |
|
173 |
* Includes changes from update 2.7.7 and a fix for JS errors in custom posts screen disabling post editor tabs
|
wp-smush.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Smush
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/wp-smushit/
|
5 |
Description: Reduce image file sizes, improve performance and boost your SEO using the free <a href="https://premium.wpmudev.org/">WPMU DEV</a> WordPress Smush API.
|
6 |
Author: WPMU DEV
|
7 |
-
Version: 2.7.8
|
8 |
Author URI: https://premium.wpmudev.org/
|
9 |
Text Domain: wp-smushit
|
10 |
*/
|
@@ -35,7 +35,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
35 |
* Constants
|
36 |
*/
|
37 |
$prefix = 'WP_SMUSH_';
|
38 |
-
$version = '2.7.8';
|
39 |
|
40 |
//Deactivate the .org version, if pro version is active
|
41 |
add_action( 'admin_init', 'deactivate_smush_org' );
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/wp-smushit/
|
5 |
Description: Reduce image file sizes, improve performance and boost your SEO using the free <a href="https://premium.wpmudev.org/">WPMU DEV</a> WordPress Smush API.
|
6 |
Author: WPMU DEV
|
7 |
+
Version: 2.7.8.1
|
8 |
Author URI: https://premium.wpmudev.org/
|
9 |
Text Domain: wp-smushit
|
10 |
*/
|
35 |
* Constants
|
36 |
*/
|
37 |
$prefix = 'WP_SMUSH_';
|
38 |
+
$version = '2.7.8.1';
|
39 |
|
40 |
//Deactivate the .org version, if pro version is active
|
41 |
add_action( 'admin_init', 'deactivate_smush_org' );
|