Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins and themes deleted when fetch button was pressed #179

Open
robertopc opened this issue Jun 22, 2019 · 2 comments
Open

Plugins and themes deleted when fetch button was pressed #179

robertopc opened this issue Jun 22, 2019 · 2 comments

Comments

@robertopc
Copy link

robertopc commented Jun 22, 2019

This was happens in my server Centos7 in the Google Cloud Platform.
Initially the plugin printed the message of error in execution of the file ssh-inc.
I deactivate the selinux temporably with setenforce 0 and clicked in the "Fetch repository".
In this moment, majority of the plugins and themes was deleted.

I see in the file inc/class-git-wrapper.php:644 have rm -rf.
I suggest to change it, it is too dangerous.

@robertopc
Copy link
Author

Screenshot_2019-06-22 Plugins ‹ 4Emotions — WordPress

@robertopc
Copy link
Author

Screenshot_2019-06-22 Manage Themes ‹ 4Emotions — WordPress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant