wp-media / wp-media/imagify-plugin

conf folder isnot deleted when uninstall imagify

Open
#802 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: low type: enhancement
Dominant language
PHP
Stars
82
Forks
31
Avg merge
5d 10h
Merged PRs (30d)
9

Description

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version => 2.1.3.1
  • Used the search feature to ensure that the bug hasn’t been reported before

Describe the bug
After uninstall , the conf folder isnot removed

To Reproduce
Steps to reproduce the behavior:

  1. Install imagify
  2. Check the root directory of the website => conf folder is created with index.php and imagify.conf
  3. deactivate and uninstall imagify
  4. Check the root directory => the folder is still there

Expected behavior
Conf folder is deleted after uninstall imagify

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2024-02-15 12-26-48

Additional context
Add any other context about the problem here.

  • tested on nginx server

Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the uninstall flow and inspect the plugin's uninstall handling for cleanup of the root-level conf folder, which contains index.php and imagify.conf. Verify the behavior on an nginx setup, then confirm that the folder and both files are removed after deactivation and uninstall.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.