webp-express icon indicating copy to clipboard operation
webp-express copied to clipboard

We need define global const for webp-express folder

Open gerasart opened this issue 8 months ago • 0 comments

Hi, that better works with code and forgot about some special logic for user, we need add const like

define( ' WEBP_EXPRESS_UPLOAD_FOLDER' )

wp-content/plugins/webp-express/lib/classes/Paths.php:376

    public static function getWebPExpressContentDirAbs()
    {
        return self::getContentDirAbs() . '/webp-express';
    }

because for now plugin can save files just in wp-content folder.

gerasart avatar Oct 22 '23 22:10 gerasart