Upgrading from 1.x to 2.0
Clone this wiki locally
This document will outline things that need to be noted when upgrading your installation from 1.x to 2.0.
Facebook accounts will be de-authorized when upgrading to 2.0. This is because Social now requires the offline access permission. Any posts broadcasted to your Facebook accounts will not be aggregated until you reauthorize your Facebook accounts.
If you used a custom comments template via the
SOCIAL_COMMENTS_FILE constant, please be aware that the following changes have been made to how the comments are displayed.
- In 1.x to display the comment form you would call
Social_Comment_Form::as_html();now you must call
- Comment type processing is no longer required in the view, we have moved this into the core of Social. You can remove these lines: https://github.com/crowdfavorite/wp-social/blob/1.0.2/comments.php#L39-59
- The following code has been added to properly set the last reply time: https://gist.github.com/6a1e0782834fc806668a
- The comment tabs count is now set via