christianwach / civicrm-wp-member-sync

CiviCRM WordPress Member Sync plugin keeps a WordPress user in sync with a CiviCRM membership by granting either a role or capabilities to a WordPress user who has that membership.
https://wordpress.org/plugins/civicrm-wp-member-sync/
GNU General Public License v2.0
17 stars 10 forks source link

Support both pre- and post- 4.6 callback methods #6

Closed christianwach closed 9 years ago

christianwach commented 9 years ago

Prior to Civi 4.6, the user callback methods were located in class CiviCRM_For_WordPress. They are now located in class CiviCRM_For_WordPress_Users. These commits support both variants in case people are using the with versions of Civi prior to 4.6.