Updating Plugin wipes out wp-saml-auth.php configuration
-
This plugin is quite bizarre in the way it is structured, in that you have to add your configuration by editing the wp-saml-auth.php file, but that is also the file that contains the version number and it will get wiped out when you update.
So, the version of that file that we put on the new server, which has all of the necessary SSO config, also states the version number is 0.3.1, so now WordPress thinks it is out of date again. When in reality, all the other files associated with the plugin are from version 0.5.1.
So if you want to update it, you’ll have to:
1. Save a copy of /wp-content/plugins/wp-saml-auth/wp-saml-auth.php
2. Update the plugin
3. Edit your saved copy of wp-saml-auth.php to change the version number (on line4) to the new version you just updated to
4. Upload it back to the serverThere has got to be a better way to do this
- The topic ‘Updating Plugin wipes out wp-saml-auth.php configuration’ is closed to new replies.