Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty

Create WooCommerce points and rewards program with WPLoyalty to increase customer loyalty and boost sales. Reward customers to drive repeat purchases.

v1.4.6flycartUpdated Added 3k+ installs100% rating
76
Score
2,207
Errors
760
Warnings
+0
Change

Category Scores

Security88
Repo100
Performance100
Maintainability15

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,967 findings

I18n

2,209

3 issue groups

Maintainability

756

8 issue groups

Security

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wployalty' but got "wp-loyalty-rules".2,207
Category
I18n
Occurrences
2,207
Severity
error

Sample message

Mismatched text domain. Expected 'wployalty' but got "wp-loyalty-rules".

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wlr_earn_' . strtolower( $type ) . '_' . strtolower( $action_type )".386
Category
Maintainability
Occurrences
386
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wlr_earn_' . strtolower( $type ) . '_' . strtolower( $action_type )".

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

Sample message

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

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Wlr\App".64
Category
Maintainability
Occurrences
64
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Wlr\App".

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WLR_MINIMUM_PHP_VERSION".12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WLR_MINIMUM_PHP_VERSION".

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->id . '_short_codes_list'".6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->id . '_short_codes_list'".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "isWLRExtraPluginData".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "isWLRExtraPluginData".

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Loyalty Points Rewards and Referral for WooCommerce - WPLoyalty" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Loyalty Points Rewards and Referral for WooCommerce - WPLoyalty" - contains the restricted term "wp" which cannot be used at all in your plugin name.

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.

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $query used in $wpdb->get_row()1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $query used in $wpdb->get_row()

Show 3 more
WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Loyalty Points Rewards and Referral for WooCommerce - WPLoyalty" is different from the name declared in plugin header "WPLoyalty".

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "wp-loyalty-rules", expected "wployalty".

Score History

First score snapshot

v1.4.6

76

Latest

Findings
2,967
Errors
2,207
Warnings
760
Check
2.0.0

Related Plugins

Image Hotspot by DevVN

30k+ active installs

99
MyRewards

2k+ active installs

89
Discount Rules for WooCommerce

100k+ active installs

71
PW WooCommerce Copy Coupon

1k+ active installs

61