WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp-openid remove easily? (4 posts)

  1. ksn
    Member
    Posted 5 years ago #

    Since the current version of wp-openid changes the database, how easy would it be if I used it for awhile and decided to remove it. Especially if several people register after activating the mod, what would be the procedure to deactivate and keep people's posts and registration to wordpress?

  2. ksn
    Member
    Posted 5 years ago #

    bump

  3. billso
    Member
    Posted 5 years ago #

    That is a good question.

    Can I roll wp-openid back to version 2.2.2, after I install and test version 3.0?

  4. Will Norris
    Member
    Posted 5 years ago #

    There are two primary database changes made in version 3.0...

    1. Two tables which are used for keeping track of OpenID transaction data (associations and nonces) are removed, and this data is stored in the WordPress options table instead. If you were to rollback to 2.x, the old tables would be automatically rebuilt and everything would be fine.

    2. Versions 2.x tracks which comments were left with an OpenID by adding an 'openid' column to the comments table. Version 3.0 removes this column, and copies all the data into the posts_meta table. If you were to rollback to 2.x, the column would be recreated and used for future OpenID-verified comments. However, previous comments that had been left with an OpenID would not display the OpenID logo next to the comment. The comment itself is entirely intact, it's just that the flag saying it's an OpenID is gone. Of course the data still exists, it's just in the post_meta table instead of the comments table. You could write a script to pretty easily copy the data back over.

    User registrations and such should work without any problem. Some the options you set for the plugin may be missing because they were renamed, but those are pretty easily fixed. And of course, backup your database first! :-P

Topic Closed

This topic has been closed to new replies.

About this Topic