CiviCRM Member Sync

Keep WordPress Users in sync with CiviCRM Memberships by granting either a Role or Capabilities to Users with that Membership.

v0.6.4Christian WachUpdated Added 800 installs100% rating
76
Score
8
Errors
70
Warnings
+0
Change

Category Scores

Security66
Repo89
Performance97
Maintainability82

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

78 findings

Maintainability

65

6 issue groups

Security

8

2 issue groups

Performance

2

1 issue group

Repo Compliance

2

2 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$button".53
Category
Maintainability
Occurrences
53
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$button".

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cwms/admin/loaded".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cwms/admin/loaded".

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $group_table used in $wpdb->get_results()\n$group_table assigned unsafely at line 238.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Unescaped parameter $group_table used in $wpdb->get_results()\n$group_table assigned unsafely at line 238.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.4
Category
Security
Occurrences
4
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORMaintainabilityOffloaded ContentFound call to wp_register_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Found call to wp_register_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

WARNINGPerformancePost Not In excludeUsing exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.2
Category
Performance
Occurrences
2
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

Show 2 more
ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "civicrm-wp-member-sync" - contains the restricted term "wp" which cannot be used at all in your plugin slug.

External Connections

Potential connections found in static code analysis.

10 domains

Outbound calls

23

External assets

0

Incoming endpoints

3

Notable Domains

jqueryui.com5 · outbound
api.jqueryui.com2 · outbound
jquery.org2 · outbound
haystack.co.uk1 · outbound
paypal.me1 · outbound

Platform / Reference Domains

github.com6 · platform/reference
wordpress.org2 · platform/reference
developer.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints3
wp_ajax_civi_wp_member_sync_get_bp_groupsauthenticated

wp_ajax

wp_ajax_civi_wp_member_sync_get_groupsauthenticated

wp_ajax

wp_ajax_sync_membershipsauthenticated

wp_ajax

Score History

First score snapshot

v0.6.4

76

Latest

Findings
78
Errors
8
Warnings
70
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

35 nodes

Related

Related Plugins

Ultimate Member – reCAPTCHA

20k+ active installs

98
Prevent Concurrent Logins

900 active installs

97
NewsmanApp

400 active installs

94
Expire Passwords

500 active installs

92