Download all files FTP

This commit is contained in:
2026-04-13 15:50:16 +02:00
parent d8382136b2
commit cb5b386424
6906 changed files with 1956223 additions and 40713 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace WebPExpress;
$msgId = '0.25.10/failed-renaming-config-file';
DismissableGlobalMessages::printDismissableMessage(
'warning',
'WebP Express failed renaming the configuration files to something secret. ' .
'This was attempted in order to protect its contents from prying eyes on servers that does not respect .htaccess files (such as Nginx). ' .
'If you have entered sensitive information in WebP Express settings (I can only think of Ewww API key), you should remove it. You can do simply by changing the WebP Express settings.' .
(PlatformInfo::isNginx() ? 'Especially, as it appears you are in fact on Nginx. ' : '') .
(PlatformInfo::isNginx() ? '' : 'You are by the way not on Nginx ') .
(PlatformInfo::isLiteSpeed() ? '(you are on LiteSpeed). ' : '') .
(PlatformInfo::isApache() ? '(you are on Apache). ' : '') .
(PlatformInfo::isMicrosoftIis() ? '(you are on Microsoft IIS). ' : '') .
'The files in question are config.json and wod-options.json in wp-content/webp-express/config'
,
$msgId,
[
['text' => 'Dismiss'],
]
);

View File

@@ -0,0 +1,21 @@
<?php
namespace WebPExpress;
$msgId = '0.25.10/renamed-config-file';
/*
DismissableGlobalMessages::printDismissableMessage(
'info',
'WebP Express has renamed its configuration files to something unique. ' .
'This was done in order to protect its contents from prying eyes on servers that does not respect .htaccess files (such as Nginx). ' .
(PlatformInfo::isNginx() ? 'I apologize for failing to consider that this could be a problem on Nginx' : 'Your server is by the way not Nginx'),
$msgId,
[
['text' => 'Ok'],
]
);
*/
// The message is old news, so dismiss it, so this code is not run again
DismissableGlobalMessages::dismissMessage($msgId);