Before submitting an issue please check that you’ve completed the following steps:
Made sure you’re on the latest version => 2.2.1
Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
Given htaccess is not writable, When enable display next-gen option => then the notice for permission is duplicated
To Reproduce
Steps to reproduce the behavior:
install and activate 2.2.1
change htaccess permissions to 444
enable Display next-gen option
notice text is duplicated
Expected behavior
notice text is not duplicated
no warning when disabling the display next-gen option in this case
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
When disabling the display Next-gen option in this case, we will have this warning
[22-Apr-2024 11:17:04 UTC] PHP Warning: Undefined variable $file_path in /home/mai/Local Sites/apache/app/public/wp-content/plugins/imagify/classes/WriteFile/AbstractWriteDirConfFile.php on line 101
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug Given htaccess is not writable, When enable display next-gen option => then the notice for permission is duplicated
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
content/plugins/imagify/classes/WriteFile/AbstractWriteDirConfFile.php on line 101
Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming