SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 74 forks source link

When updating the plugin, sp.key and sp.crt are deleted. #82

Closed DHerls closed 4 years ago

DHerls commented 4 years ago

Today I updated the plugin through the WordPress console and discovered that it overrode the certs directory and deleted my sp.crt and sp.key files.

pitbulk commented 4 years ago

For plugins and themes, WordPress erases the whole folder on update and unpacks full folder with the new version in its place.

So there is no way to prevent WP to remove them.